0
Fork 0
mirror of https://projects.blender.org/infrastructure/gitea-custom.git synced 2025-01-03 05:10:05 -05:00

UI: Fix alignment of navbar expand toggle

This commit is contained in:
Pablo Vazquez 2023-02-09 14:38:24 +01:00
parent 7de5bc01bb
commit 5abde14b19

View file

@ -377,6 +377,10 @@ strong, b, h1, h2, h3, h4, h5, h6,
display: none; display: none;
} }
.following.bar #navbar .brand #navbar-expand-toggle {
margin-left: var(--spacer-4);
}
/* Hide brand navbar completely when not in mobile. */ /* Hide brand navbar completely when not in mobile. */
@media (min-width: 768px) { @media (min-width: 768px) {
.following.bar #navbar .brand { .following.bar #navbar .brand {
@ -384,9 +388,9 @@ strong, b, h1, h2, h3, h4, h5, h6,
} }
} }
/* Invert direction so navbar toggle are in the same place when logged in/out. */ /* Align items (notifications, dropdown toggle) to the right. */
.following.bar #navbar .brand { .following.bar #navbar .brand {
flex-direction: row-reverse; justify-content: flex-end !important;
} }
/* Navbar logo. */ /* Navbar logo. */