File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
client/packages/lowcoder/src/components Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import {
2525 TextStyleIcon ,
2626 ImageCompIconSmall ,
2727 RotationIcon ,
28- LineHeightIcon
28+ LineHeightIcon ,
2929 } from "lowcoder-design/src/icons" ;
3030import { trans } from "i18n" ;
3131import { 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 }
You can’t perform that action at this time.
0 commit comments