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
|
// Navigation link
|
||||||
&__link {
|
&__link {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
gap: px2rem(8px);
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
margin-top: 0.625em;
|
margin-top: 0.625em;
|
||||||
transition: color 125ms;
|
transition: color 125ms;
|
||||||
@ -131,11 +132,6 @@
|
|||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
height: 1.3em;
|
height: 1.3em;
|
||||||
fill: currentcolor;
|
fill: currentcolor;
|
||||||
|
|
||||||
// Adjust spacing of next child
|
|
||||||
+ * {
|
|
||||||
margin-inline-start: px2rem(8px);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navigation link on focus/hover
|
// Navigation link on focus/hover
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
// Status
|
// Status
|
||||||
.md-status {
|
.md-status {
|
||||||
margin-left: px2rem(4px);
|
|
||||||
|
|
||||||
// Status icon
|
// Status icon
|
||||||
&::after {
|
&::after {
|
||||||
|
Loading…
Reference in New Issue
Block a user