File tree Expand file tree Collapse file tree
packages/components/src/spectrum/listView Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828}
2929
3030.dh-list-view-wrapper-density-compact {
31+ // Ensure icons don't change the item height
3132 svg [class *= ' spectrum-Icon' ] {
3233 height : var (--dh-list-view-item-icon-compact );
3334 width : var (--dh-list-view-item-icon-compact );
3435 }
36+ // Ensure action buttons don't change the item height
37+ button {
38+ height : var (--dh-list-view-item-icon-compact );
39+ }
3540}
3641
3742.dh-list-view-wrapper-density-regular {
43+ // Ensure icons don't change the item height
3844 svg [class *= ' spectrum-Icon' ] {
3945 height : var (--dh-list-view-item-icon-regular );
4046 width : var (--dh-list-view-item-icon-regular );
4147 }
48+ // Ensure action buttons don't change the item height
49+ button {
50+ height : var (--dh-list-view-item-icon-regular );
51+ }
4252}
4353
4454.dh-list-view-wrapper-density-spacious {
55+ // Ensure icons don't change the item height
4556 svg [class *= ' spectrum-Icon' ] {
4657 height : var (--dh-list-view-item-icon-spacious );
4758 width : var (--dh-list-view-item-icon-spacious );
4859 }
60+ // Ensure action buttons don't change the item height
61+ button {
62+ height : var (--dh-list-view-item-icon-spacious );
63+ }
4964}
You can’t perform that action at this time.
0 commit comments