admin nav-logo: grid layout for icon+text horizontal alignment and vertical centering

This commit is contained in:
Pontoporeia
2026-06-08 12:16:21 +02:00
parent 9e272873e1
commit ef6bff895a
2 changed files with 6 additions and 3 deletions

View File

@@ -2,3 +2,4 @@
- [x] Standardise all links (including header) to be heavy (font-weight: 600) and add violet accent color on hover
- [x] Remove border-radius from aria-current nav links, drop a:focus-visible ring in header, consolidate border-bottom/padding in shared header.css
- [x] Admin nav-logo: use grid layout with SVG + text horizontally aligned and vertically centered

View File

@@ -33,9 +33,11 @@
}
/* Public-site link icon in admin nav */
.admin-body header nav .nav-logo svg {
vertical-align: middle;
margin-right: 0.4em;
.admin-body header nav .nav-logo {
display: grid;
grid-auto-flow: column;
align-items: center;
column-gap: 0.4em;
}