mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
admin nav-logo: grid layout for icon+text horizontal alignment and vertical centering
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -2,3 +2,4 @@
|
|||||||
|
|
||||||
- [x] Standardise all links (including header) to be heavy (font-weight: 600) and add violet accent color on hover
|
- [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] 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
|
||||||
|
|||||||
@@ -33,9 +33,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Public-site link icon in admin nav */
|
/* Public-site link icon in admin nav */
|
||||||
.admin-body header nav .nav-logo svg {
|
.admin-body header nav .nav-logo {
|
||||||
vertical-align: middle;
|
display: grid;
|
||||||
margin-right: 0.4em;
|
grid-auto-flow: column;
|
||||||
|
align-items: center;
|
||||||
|
column-gap: 0.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user