0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Minor UI refinements for announcement bar

refs. https://github.com/TryGhost/Team/issues/3112

- sidebar was a bit misaligned
This commit is contained in:
Peter Zimon 2023-04-26 16:08:57 +02:00
parent 56b51999dc
commit a65dd11637
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<div class="flex flex-column h-100" {{css-transition "gh-nav-contextual"}} data-test-nav-menu="design" ...attributes>
<header class="gh-nav-header">
<header class="gh-nav-header no-accordion">
<LinkTo @route="settings" class="gh-nav-menu-back-button" data-test-link="back-to-settings">Settings</LinkTo>
{{svg-jar "arrow-right-small"}} Announcement bar
</header>

View file

@ -1770,6 +1770,14 @@ p.theme-validation-details {
letter-spacing: .2px;
}
.gh-nav-header.no-accordion {
padding-bottom: 32px;
}
.gh-nav-header.no-accordion + .gh-nav-body .gh-nav-top:first-of-type .gh-nav-design-settings {
margin-top: 4px;
}
.gh-nav-menu-back-button {
display: flex;
align-items: center;