fix(base/index.css): back link should only have bottom margin when not adjacent to headers

This commit is contained in:
Cory Dransfeldt 2025-04-14 14:42:55 -07:00
parent d83a804ab4
commit dab3899dcb
No known key found for this signature in database
3 changed files with 7 additions and 4 deletions

View file

@ -257,7 +257,10 @@ a {
display: inline-flex;
align-items: center;
gap: var(--spacing-xs);
margin-bottom: var(--spacing-base);
&:not(:has(+ h1, + h2, + h3)) {
margin-bottom: var(--spacing-base);
}
&:is(:hover, :focus, :active) svg {
transform: var(--transform-icon-default);