saumur: fix broken cell borders without image (#72007)

This commit is contained in:
Agate 2022-12-12 14:27:32 +01:00 committed by Gitea
parent 1020ae992f
commit 933a684df4
1 changed files with 2 additions and 14 deletions

View File

@ -158,9 +158,6 @@ div.link-cell {
}
%orange-border {
content: " ";
display: block;
margin: $space-small auto;
border-bottom: 3px solid $orange;
}
@ -172,9 +169,7 @@ div.link-cell {
div#services > ul > li > strong > a,
div.textcell h2:first-child,
div.cell:not(.has-asset-picture) h2:first-child {
&::after {
@extend %orange-border
}
@extend %orange-border;
}
}
@ -185,6 +180,7 @@ div.link-cell {
h2:first-child {
padding-left: $space-large;
width: 100%;
@extend %orange-border;
}
img {
position: absolute;
@ -193,14 +189,6 @@ div.link-cell {
top: $space-small;
left: 0;
}
&.foldable:not(.folded) picture::after {
@extend %orange-border;
margin: 0;
}
&:not(.foldable) picture::after {
@extend %orange-border;
margin: 0;
}
}