saumur: fix broken cell borders without image (#72007)
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good
Details
gitea-wip/publik-base-theme/pipeline/pr-main This commit looks good
Details
This commit is contained in:
parent
e6af7f431c
commit
d64fa792f4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue