mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
UX: move horiz nav margin to padding (#19041)
This commit is contained in:
parent
ca72d8d030
commit
e071ba5d84
|
@ -89,10 +89,11 @@
|
|||
|
||||
.user-navigation-secondary {
|
||||
--user-navigation__border-width: 2px;
|
||||
--navigation-secondary-padding-top: 0.5em;
|
||||
position: relative;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
margin: 0.5em 0;
|
||||
margin: 0;
|
||||
gap: 0 0.5em;
|
||||
border-bottom: 1px solid var(--primary-low);
|
||||
|
||||
|
@ -121,6 +122,7 @@
|
|||
flex: 1 1 auto;
|
||||
font-size: var(--font-down-1);
|
||||
justify-content: flex-start;
|
||||
padding-top: var(--navigation-secondary-padding-top);
|
||||
|
||||
li {
|
||||
flex: 1 0 auto;
|
||||
|
@ -135,6 +137,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
[class*="horizontal-overflow-nav__scroll"] {
|
||||
padding-top: var(--navigation-secondary-padding-top);
|
||||
}
|
||||
}
|
||||
|
||||
.user-nav-dropdown-button {
|
||||
|
|
Loading…
Reference in New Issue
Block a user