File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
client/packages/lowcoder/src Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export interface ThemeDetail {
52
52
borderStyle ?: string ;
53
53
chart ?: string ;
54
54
margin ?: string ;
55
+ direction ?: string ;
55
56
padding ?: string ;
56
57
gridPaddingX ?: number ;
57
58
gridPaddingY ?: number ;
@@ -91,7 +92,8 @@ export function getThemeDetailName(key: keyof ThemeDetail) {
91
92
case "borderWidth" : return trans ( "themeDetail.borderWidth" ) ;
92
93
case "borderStyle" : return trans ( "themeDetail.borderStyle" ) ;
93
94
case "fontFamily" : return trans ( "themeDetail.fontFamily" ) ;
94
- case "margin" : return trans ( "style.margin" ) ;
95
+ case "margin" : return trans ( "style.margin" ) ;
96
+ case "direction" : return trans ( "style.direction" ) ;
95
97
case "padding" : return trans ( "style.padding" ) ;
96
98
case "gridColumns" : return trans ( "themeDetail.gridColumns" ) ;
97
99
case "textSize" : return trans ( "style.textSize" ) ;
@@ -114,7 +116,8 @@ export function isThemeColorKey(key: string) {
114
116
case "borderWidth" :
115
117
case "borderStyle" :
116
118
case "fontFamily" :
117
- case "margin" :
119
+ case "margin" :
120
+ case "direction" :
118
121
case "padding" :
119
122
case "gridColumns" :
120
123
case "textSize" :
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ const MARGIN = {
556
556
const DIRECTION = {
557
557
name : "direction" ,
558
558
label : trans ( "style.direction" ) ,
559
- position : "direction" ,
559
+ direction : "direction" ,
560
560
} as const ;
561
561
562
562
const PADDING = {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const theme = {
12
12
borderWidth : "1px" ,
13
13
borderStyle : "solid" ,
14
14
margin : "3px" ,
15
+ direction : "0 0 1 1" ,
15
16
padding : "3px" ,
16
17
lineHeight : "18px" ,
17
18
gridColumns : String ( DEFAULT_GRID_COLUMNS ) ,
You can’t perform that action at this time.
0 commit comments