File tree 1 file changed +6
-14
lines changed
client/packages/lowcoder/src/pages/editor/right
1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -40,17 +40,12 @@ const ItemWrapper = styled.div`
40
40
margin-bottom: 0;
41
41
}
42
42
.module-container {
43
- //width: 70px;
44
43
display: flex;
45
- justify-content: space-between;
46
- text-align: left;
47
44
}
48
45
.module-icon {
49
-
50
- display: flex;
51
- justify-content: center;
52
- align-items: center;
53
- margin: 4px;
46
+ margin-right: 4px;
47
+ width:19px;
48
+ height: 19px;
54
49
}
55
50
.module-content {
56
51
flex: 1;
@@ -249,10 +244,7 @@ function ModuleItem(props: ModuleItemProps) {
249
244
} }
250
245
>
251
246
< div className = "module-container" >
252
- < div className = "module-icon" >
253
- < ModuleDocIcon width = "19px" height = "19px" />
254
- </ div >
255
-
247
+ < ModuleDocIcon className = "module-icon" />
256
248
< div style = { { flexGrow : 1 , marginRight : "8px" , width : "calc(100% - 62px)" } } >
257
249
< EditText
258
250
text = { meta . name }
@@ -282,7 +274,7 @@ const HighlightBorder = styled.div<{ $active: boolean; $foldable: boolean; $leve
282
274
border-radius: 4px;
283
275
border: 1px solid ${ ( props ) => ( props . $active ? BorderActiveColor : "transparent" ) } ;
284
276
align-items: center;
285
- justify-content: center ;
277
+ justify-content: space-between ;
286
278
` ;
287
279
288
280
interface ColumnDivProps {
@@ -463,7 +455,7 @@ function ModuleSidebarItem(props: ModuleSidebarItemProps) {
463
455
{ isFolder && < FoldIconBtn > { ! isFolded ? < FoldedIcon /> : < UnfoldIcon /> } </ FoldIconBtn > }
464
456
{ isFolder ?
465
457
< >
466
- < FileFolderIcon />
458
+ < FileFolderIcon style = { { marginRight : "4px" } } />
467
459
< div style = { { flexGrow : 1 , marginRight : "8px" , width : "calc(100% - 62px)" } } >
468
460
< EditText
469
461
text = { name }
You can’t perform that action at this time.
0 commit comments