ux(classifier): tighten Folder Tree row spacing
Folder rows kept 0.5rem padding from before the name+count were stacked, leaving a lot of blank vertical space between items. Drop to 0.1rem vertical (file rows are already this tight) and set a compact line-height. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bfa94d0da8
commit
10474c549e
1 changed files with 2 additions and 1 deletions
|
|
@ -185,11 +185,12 @@
|
||||||
.folder-item {
|
.folder-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start; /* toggle/icon sit on the name line; count drops below */
|
align-items: flex-start; /* toggle/icon sit on the name line; count drops below */
|
||||||
padding: 0.5rem;
|
padding: 0.1rem 0.5rem; /* tight: the name + count are already stacked */
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
user-select: none;
|
user-select: none;
|
||||||
transition: background-color 0.15s;
|
transition: background-color 0.15s;
|
||||||
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
.folder-item:hover {
|
.folder-item:hover {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue