File tree 4 files changed +7
-7
lines changed
functions/mods/FunctionPanel
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const JSONViewerStyle: any = {
39
39
color : "#954121" ,
40
40
} ,
41
41
"hljs-number" : {
42
- color : "#b0caa4 " ,
42
+ color : "#01A99D " ,
43
43
} ,
44
44
"hljs-string" : {
45
45
color : "#0451a5" ,
Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ export default function CollectionListPanel() {
103
103
store . setCurrentDB ( db ) ;
104
104
} }
105
105
>
106
- < div className = "group flex w-full justify-between" >
107
- < div className = "font-semibold leading-loose" >
106
+ < div className = "group flex w-full items-center justify-between" >
107
+ < div className = "overflow-hidden text-ellipsis whitespace-nowrap font-semibold leading-loose" >
108
108
< FileTypeIcon type = "db" />
109
109
< span className = "ml-2 text-base" > { db . name } </ span >
110
110
</ div >
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ export default function PolicyListPanel() {
56
56
store . setCurrentPolicy ( item ) ;
57
57
} }
58
58
>
59
- < div className = "group flex w-full justify-between" >
60
- < div className = "font-semibold leading-loose" >
59
+ < div className = "group flex w-full items-center justify-between" >
60
+ < div className = "overflow-hidden text-ellipsis whitespace-nowrap font-semibold leading-loose" >
61
61
< FileTypeIcon type = "policy" />
62
62
< span className = "ml-2 text-base" > { item . name } </ span >
63
63
</ div >
Original file line number Diff line number Diff line change @@ -190,14 +190,14 @@ export default function FunctionList() {
190
190
navigate ( `/app/${ currentApp ?. appid } /${ Pages . function } /${ func ?. name } ` ) ;
191
191
} }
192
192
>
193
- < div className = "font-semibold leading-loose" >
193
+ < div className = "overflow-hidden text-ellipsis whitespace-nowrap font-semibold leading-loose" >
194
194
< FileTypeIcon type = { FileType . ts } />
195
195
< span className = "ml-2 text-base" > { func ?. name } </ span >
196
196
</ div >
197
197
< HStack spacing = { 1 } >
198
198
{ functionCache . getCache ( func ?. id , func ?. source ?. code ) !==
199
199
func ?. source ?. code && (
200
- < span className = "inline-block h-1 w-1 flex-none rounded-full bg-warn-700" > </ span >
200
+ < span className = "mt-[1px] inline-block h-1 w-1 flex-none rounded-full bg-warn-700" > </ span >
201
201
) }
202
202
< MoreButton
203
203
isHidden = { func . name !== currentFunction ?. name }
You can’t perform that action at this time.
0 commit comments