Skip to content

Commit

Permalink
fix grid gutter
Browse files Browse the repository at this point in the history
  • Loading branch information
haschek committed Feb 9, 2023
1 parent 58db8fd commit 32de73d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Grid/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ $grid-gutter: rem($eccgui-size-grid-gutter);
.#{$eccgui}-grid--absolutespace {
position: absolute;
top: 0;
left: 0.5rem;
right: 0.5rem;
left: 0.5 * $eccgui-size-grid-gutter;;
right: 0.5 * $eccgui-size-grid-gutter;;
bottom: 0;
}

.#{$prefix}--row {
flex-wrap: wrap;
margin-left: -0.5 * $eccgui-size-grid-gutter;;
margin-right: -0.5 * $eccgui-size-grid-gutter;;
}

.#{$eccgui}-grid__row--fullheight {
Expand Down Expand Up @@ -69,6 +71,8 @@ $grid-gutter: rem($eccgui-size-grid-gutter);
@see https://css-tricks.com/flexbox-truncated-text/
*/
min-width: 0;
padding-left: 0.5 * $eccgui-size-grid-gutter;;
padding-right: 0.5 * $eccgui-size-grid-gutter;;
}

.#{$eccgui}-grid__column {
Expand Down

0 comments on commit 32de73d

Please sign in to comment.