made filelist font and node height a bit smaller
mellbacon committed
May 15, 2023 at 18:34 UTC
88105df5ab0c6b693054844ee1cdcde8864372ff
2 files changed
+8
-6
src/lib/FileTree/FileTreeList.svelte
+4
-3
@@ -186,12 +186,13 @@
186
}
187
.tree-label {
188
display: flex;
189
- min-height: 1.6rem;
189
+ min-height: 1.5rem;
190
+ font-size: 14px;
191
align-items: center;
192
white-space: nowrap;
193
:global(svg) {
193
- width: 20px;
194
- height: 20px;
194
+ width: 18px;
195
+ height: 18px;
196
padding: 0 5px 0 0;
197
}
198
}
src/lib/FileTree/FileTreeNode.svelte
+4
-3
@@ -104,13 +104,14 @@
104
}
105
.tree-label {
106
display: flex;
107
- min-height: 1.6rem;
107
+ min-height: 1.5rem;
108
+ font-size: 14px;
109
align-items: center;
110
flex: 1;
111
white-space: nowrap;
112
:global(svg){
112
- width: 20px;
113
- height: 20px;
113
+ width: 18px;
114
+ height: 18px;
115
padding: 0 5px 0 0;
116
}
117
}