Skip to content

Commit

Permalink
Work for #7087: fix paddings and margins for panels in single page mo…
Browse files Browse the repository at this point in the history
…de (#7145)
  • Loading branch information
dk981234 committed Oct 14, 2023
1 parent 8672766 commit f3e6578
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/defaultV2-theme/blocks/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
color: $font-pagetitle-color;
position: static;
line-height: multiply(1.33, var(--page-title-font-size));
margin: calcSize(0.5) 0px;
margin: 0 0 calcSize(0.5) 0px;
}

@mixin cover_title {
Expand Down
1 change: 0 additions & 1 deletion src/defaultV2-theme/blocks/sd-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

.sd-page .sd-page__title {
@include page_title();
margin-top: 0;
}

.sd-page .sd-page__description {
Expand Down
8 changes: 2 additions & 6 deletions src/defaultV2-theme/blocks/sd-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
.sd-panel.sd-panel--as-page {
&>.sd-panel__header.sd-panel__header {
padding-top: 0;
padding-bottom: 0;
padding-bottom: calcSize(3);

&:after {
content: none;
Expand All @@ -28,18 +28,14 @@
}
}

&>.sd-panel__header+.sd-panel__content {
margin-top: calcSize(2);
}

&>.sd-panel__content {
padding-top: 0;
}
}

.sd-row~.sd-row {
.sd-panel--as-page {
padding-top: calcSize(5);
padding-top: calcSize(4);
}
}

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f3e6578

Please sign in to comment.