Refine content-list-style-lines spacing even more

This commit is contained in:
Tetrakern 2024-08-07 18:28:54 +02:00
parent 2778697a49
commit 312280bfbf
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
:root .content-list-style-lines{--content-li-background: none;--card-content-li-background: none;--story-blog-li-background: none;--chapter-li-background: none;--chapter-li-padding-bottom-offset: var(--chapter-list-gap, 4px)}:root .content-list-style-lines :is(.chapter-group__list-item,.story__blog-list-item,.card__link-list-item){border-radius:0;border-bottom:var(--content-li-hr-border)}:root .content-list-style-lines .card__link-list-item{border-bottom:var(--card-content-li-hr-border, var(--content-li-hr-border));border-bottom-width:1px}:root .content-list-style-lines .card__link-list-item:last-child{border-bottom:none}:root .content-list-style-lines .card ._small .cell-list:last-child{margin-bottom:calc(var(--this-spacing)*.65)}
:root .content-list-style-lines{--content-li-background: none;--card-content-li-background: none;--story-blog-li-background: none;--chapter-li-background: none;--chapter-li-padding-bottom-offset: var(--chapter-list-gap, 4px)}:root .content-list-style-lines :is(.chapter-group__list-item,.story__blog-list-item,.card__link-list-item){border-radius:0;border-bottom:var(--content-li-hr-border)}:root .content-list-style-lines .card__link-list-item{border-bottom:var(--card-content-li-hr-border, var(--content-li-hr-border));border-bottom-width:1px}:root .content-list-style-lines .card__link-list-item:last-child{margin-bottom:-0.125em}:root .content-list-style-lines .card__link-list-item:last-child{border-bottom:none}:root .content-list-style-lines .card ._small .cell-list:last-child{margin-bottom:calc(var(--this-spacing)*.65)}

View File

@ -16,6 +16,10 @@
.card__link-list-item {
border-bottom: var(--card-content-li-hr-border, var(--content-li-hr-border));
border-bottom-width: 1px;
&:last-child {
margin-bottom: -0.125em; // Offset list item padding
}
}
.card__link-list-item:last-child {