Compare commits

...

1 Commits

Author SHA1 Message Date
caf24db494 Compact browser grid cards
- Reduce card padding and gap
- Use fluid width thumbnails/icons instead of fixed 120px
- Fix cards stretching to tallest row height (align-items: start)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 01:13:33 +03:00

View File

@@ -1862,7 +1862,7 @@
gap: 1rem; gap: 1rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
min-height: 200px; min-height: 200px;
align-items: stretch; align-items: start;
} }
/* Compact Grid */ /* Compact Grid */
@@ -2036,13 +2036,13 @@
background: var(--bg-tertiary); background: var(--bg-tertiary);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 8px; border-radius: 8px;
padding: 1rem; padding: 0.6rem;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 0.75rem; gap: 0.5rem;
position: relative; position: relative;
} }
@@ -2056,8 +2056,8 @@
/* Thumbnail Display */ /* Thumbnail Display */
.browser-thumbnail { .browser-thumbnail {
width: 120px; width: 100%;
height: 120px; aspect-ratio: 1;
object-fit: cover; object-fit: cover;
border-radius: 6px; border-radius: 6px;
background: var(--bg-primary); background: var(--bg-primary);
@@ -2115,8 +2115,8 @@
/* File/Folder Icons */ /* File/Folder Icons */
.browser-icon { .browser-icon {
width: 120px; width: 100%;
height: 120px; aspect-ratio: 1;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -2128,7 +2128,6 @@
.browser-item-info { .browser-item-info {
width: 100%; width: 100%;
text-align: center; text-align: center;
margin-top: auto;
} }
.browser-item-name { .browser-item-name {