mirror of
https://github.com/svemagie/blog-eleventy-indiekit.git
synced 2026-04-02 16:44:56 +02:00
fix: use side-specific border color on post-list items
The .post-list li rule used border-surface-200 which sets border-color
for ALL sides (shorthand). Combined with its higher specificity (0-1-1
vs 0-1-0), this overrode the border-l-{color} utility classes on
.post-card elements. Changing to border-b-surface-200 restricts the
color to only the bottom separator border, allowing the left border
color utilities to apply correctly.
This commit is contained in:
@@ -224,7 +224,7 @@
|
||||
}
|
||||
|
||||
.post-list li {
|
||||
@apply pb-6 border-b border-surface-200 dark:border-surface-700 last:border-0;
|
||||
@apply pb-6 border-b border-b-surface-200 dark:border-b-surface-700 last:border-0;
|
||||
}
|
||||
|
||||
/* Post meta */
|
||||
|
||||
Reference in New Issue
Block a user