mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Improved navigation spacing with flex layout
This commit is contained in:
parent
b1ee79b262
commit
11b1c55ba1
@ -93,6 +93,7 @@
|
||||
// Navigation link
|
||||
&__link {
|
||||
display: flex;
|
||||
gap: px2rem(8px);
|
||||
align-items: flex-start;
|
||||
margin-top: 0.625em;
|
||||
transition: color 125ms;
|
||||
@ -131,11 +132,6 @@
|
||||
flex-shrink: 0;
|
||||
height: 1.3em;
|
||||
fill: currentcolor;
|
||||
|
||||
// Adjust spacing of next child
|
||||
+ * {
|
||||
margin-inline-start: px2rem(8px);
|
||||
}
|
||||
}
|
||||
|
||||
// Navigation link on focus/hover
|
||||
|
@ -36,7 +36,6 @@
|
||||
|
||||
// Status
|
||||
.md-status {
|
||||
margin-left: px2rem(4px);
|
||||
|
||||
// Status icon
|
||||
&::after {
|
||||
|
Loading…
Reference in New Issue
Block a user