mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-10 03:30:08 +01:00
admin nav-logo: grid layout for icon+text horizontal alignment and vertical centering
This commit is contained in:
1 parent
9e272873e1
commit
ef6bff895a
2 files changed
+6
-3
No files matched your search
@@ -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