saumur: fix broken cell borders without image (#72007)
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good Details

This commit is contained in:
Agate 2022-12-12 14:27:32 +01:00
parent e6af7f431c
commit d64fa792f4
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;
}
}