Skip to content

Commit b77d3e0

Browse files
committed
Fixed direction on theme setting.
1 parent 2045823 commit b77d3e0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

client/packages/lowcoder/src/components/ThemeSettingsCompStyles.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
TextStyleIcon,
2626
ImageCompIconSmall,
2727
RotationIcon,
28-
LineHeightIcon
28+
LineHeightIcon,
2929
} from "lowcoder-design/src/icons";
3030
import { trans } from "i18n";
3131
import { debounce } from "lodash";
@@ -101,7 +101,8 @@ const isColorStyle = (styleKey: string) => {
101101
styleKey !== 'containerHeaderPadding' &&
102102
styleKey !== 'containerSiderPadding' &&
103103
styleKey !== 'containerFooterPadding' &&
104-
styleKey !== 'containerBodyPadding';
104+
styleKey !== 'containerBodyPadding' &&
105+
styleKey !== 'direction';
105106
}
106107

107108

@@ -275,6 +276,10 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
275276
placeholder = '0deg';
276277
break;
277278
}
279+
case 'direction': {
280+
placeholder = '0 0 1 1';
281+
break;
282+
}
278283
}
279284
return placeholder;
280285
}
@@ -380,6 +385,10 @@ export default function ThemeSettingsCompStyles(props: CompStyleProps) {
380385
icon = <LineHeightIcon style={{width: "16px", margin: "5px 0 0 5px", padding: "0px"}}/>;
381386
break;
382387
}
388+
case 'direction': {
389+
icon = <ExpandIcon style={{width: "16px", margin: "5px 0 0 5px", padding: "0px"}}/>;
390+
break;
391+
}
383392
}
384393
return icon;
385394
}

0 commit comments

Comments
 (0)