Skip to content

Commit

Permalink
Made listview icons smaller (deephaven#1890)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Apr 29, 2024
1 parent ddcd165 commit b184a27
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.dh-list-view-wrapper {
--dh-list-view-item-icon-compact: 24px;
--dh-list-view-item-icon-regular: 26px;
--dh-list-view-item-icon-spacious: 32px;
--dh-list-view-item-icon-compact: 16px;
--dh-list-view-item-icon-regular: 18px;
--dh-list-view-item-icon-spacious: 24px;

// set the wrapper to grow to the size of the parent container
height: 100%;
Expand Down Expand Up @@ -30,17 +30,20 @@
.dh-list-view-wrapper-density-compact {
svg[class*='react-spectrum-ListViewItem-thumbnail'] {
height: var(--dh-list-view-item-icon-compact);
width: var(--dh-list-view-item-icon-compact);
}
}

.dh-list-view-wrapper-density-regular {
svg[class*='react-spectrum-ListViewItem-thumbnail'] {
height: var(--dh-list-view-item-icon-regular);
width: var(--dh-list-view-item-icon-regular);
}
}

.dh-list-view-wrapper-density-spacious {
svg[class*='react-spectrum-ListViewItem-thumbnail'] {
height: var(--dh-list-view-item-icon-spacious);
width: var(--dh-list-view-item-icon-spacious);
}
}

0 comments on commit b184a27

Please sign in to comment.