fix(base/index.css): back link should only have bottom margin when not adjacent to headers
This commit is contained in:
parent
d83a804ab4
commit
dab3899dcb
3 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue