Skip to content

Commit

Permalink
fix(core): fix footer link dimensions
Browse files Browse the repository at this point in the history
Set display property of links in site footer
which are visualised by icons – which contain
images or <span> tags for Material Symbols –
to inline-block to make them fit the icons'
dimensions. Prevents links that are smaller
in size than their visual content, which can
cause unexpected behaviour when hovering.
  • Loading branch information
koeaw committed Nov 5, 2024
1 parent ed7c1d2 commit 4dd81d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apis_core/core/static/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
a #logo:hover {
opacity: 0.5;
}

footer a:has(> img),
footer a:has(> span[class*="material-symbols"]) {
display: inline-block;
}

0 comments on commit 4dd81d8

Please sign in to comment.