Skip to content

Commit

Permalink
fix(html): update ImageEditor action pane checkbox label
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyaVes committed Nov 21, 2024
1 parent 9d3e1c5 commit 69c2007
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/html/src/imageeditor/templates/imageeditor-crop.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ImageEditor } from "..";
import { ButtonGroup, ToolbarItem, ToolbarSeparator } from "../..";
import { Button } from "../../button";
import { Checkbox } from "../../checkbox";
import { CheckboxWithLabelAfter } from "../../checkbox";
import { DropdownList } from "../../dropdownlist";
import { FormNormal, Fieldset, FormField } from "../../form";
import { NumericTextbox } from "../../numerictextbox";
Expand Down Expand Up @@ -58,8 +58,7 @@ export const ImageEditorCrop = (props: any) => (
/>
<FormField
colSpan="2"
label="Lock aspect ratio:"
editor={ <Checkbox /> }
editor={ <CheckboxWithLabelAfter>Lock aspect ratio</CheckboxWithLabelAfter> }
/>
</Fieldset>
</FormNormal>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ImageEditor } from "..";
import { Button } from "../../button";
import { Checkbox } from "../../checkbox";
import { CheckboxWithLabelAfter } from "../../checkbox";
import { DropdownList } from "../../dropdownlist";
import { FormNormal, Fieldset, FormField } from "../../form";
import { NumericTextbox } from "../../numerictextbox";
Expand Down Expand Up @@ -53,8 +53,7 @@ export const ImageEditorResize = (props: any) => (
/>
<FormField
colSpan="2"
label="Lock aspect ratio:"
editor={ <Checkbox /> }
editor={ <CheckboxWithLabelAfter>Lock aspect ratio</CheckboxWithLabelAfter> }
/>
</Fieldset>
</FormNormal>
Expand Down

0 comments on commit 69c2007

Please sign in to comment.