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

Merged
aberriot merged 1 commits from wip/72007-cell-border into main 2022-12-15 14:14:24 +01:00
1 changed files with 2 additions and 14 deletions

View File

@ -160,9 +160,6 @@ div.link-cell {
}
%orange-border {
content: " ";
display: block;
margin: $space-small auto;
border-bottom: 3px solid $orange;
}
@ -174,9 +171,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;
}
}
@ -187,6 +182,7 @@ div.link-cell {
h2:first-child {
padding-left: $space-large;
width: 100%;
@extend %orange-border;
}
img {
position: absolute;
@ -195,14 +191,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;
}
}