Skip to content

Commit

Permalink
fix(DrawerList): remove unused white area on the right side
Browse files Browse the repository at this point in the history
Fixes #1531
  • Loading branch information
tujoworker committed Aug 31, 2022
1 parent 8529d8c commit b62e6a0
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ exports[`DrawerList scss have to match snapshot 1`] = `
@supports (display: grid) {
.dnb-drawer-list__option__inner {
display: grid;
grid-template-columns: 1fr minmax(2rem, auto);
grid-template-columns: 1fr auto;
grid-template-rows: repeat(10, min-content); } }
.dnb-drawer-list__option__inner > * {
align-self: self-start; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
display: grid;

// Use two columns
grid-template-columns: 1fr minmax(2rem, auto);
grid-template-columns: 1fr auto;

// Use a high number in order to be able to vertically center the check icon (among others) and suffix with "grid-row: 1 / -1;"
grid-template-rows: repeat(10, min-content);
Expand Down

0 comments on commit b62e6a0

Please sign in to comment.