Skip to content

Commit

Permalink
Revert "fixed header lines #6717"
Browse files Browse the repository at this point in the history
This reverts commit 99249cd.
  • Loading branch information
novikov82 committed Aug 28, 2023
1 parent 99249cd commit 78023b4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/defaultV2-theme/blocks/sd-element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,10 @@
&:after {
content: " ";
display: block;
position: absolute;
position: relative;
height: 1px;
background: $border-light;
bottom: 0;
width: 100%;
}
}

Expand All @@ -172,9 +171,9 @@
margin-top: 0;
padding-top: var(--sd-base-vertical-padding);
padding-bottom: var(--sd-base-vertical-padding);
position: relative;

&:after {
bottom: calc(-1 * var(--sd-base-vertical-padding));
left: calc(-1 * var(--sd-base-padding));
width: calc(100% + 2 * var(--sd-base-padding));
}
Expand Down Expand Up @@ -231,6 +230,13 @@

//nested styles
.sd-element--nested {
&.sd-element--complex {
&>.sd-element__header--location-top {
&:after {
bottom: calc(-0.5 * var(--sd-base-vertical-padding));
}
}
}

&.sd-element--collapsed {

Expand Down

0 comments on commit 78023b4

Please sign in to comment.