Skip to content

Commit

Permalink
#6799 - fixed compact mode
Browse files Browse the repository at this point in the history
  • Loading branch information
novikov82 committed Aug 26, 2023
1 parent 4857432 commit 632c25c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/defaultV2-theme/blocks/sd-row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
width: calc(100% + var(--sd-base-padding));
flex-wrap: wrap;

>div {
&>div {
box-sizing: border-box;
padding-left: calcSize(2);
}
Expand All @@ -46,13 +46,20 @@
}
}

.sd-row--multiple.sd-row--compact {
&>div {
padding-left: var(--sd-base-padding);
}
}
.sd-page__row.sd-row--multiple {
margin-left: calcSize(-2);
width: calc(100% + 2 * var(--sjs-base-unit, var(--base-unit, 8px)));


&.sd-row--compact {
padding: 0;
margin-left: calc(-1 * var(--sd-base-padding));
width: calc(100% + var(--sd-base-padding));
}
}

Expand Down

0 comments on commit 632c25c

Please sign in to comment.