Animated design settings tabs open/close in side nav

Refs https://github.com/TryGhost/Team/issues/1149
This commit is contained in:
Sanne de Vries 2021-10-18 18:27:45 +02:00
parent 6dd1d058e5
commit d7fefd70cc
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
<div class="gh-nav-bottom">
<LinkTo class="gh-nav-design-tab" style="align-items: self-start" @route="settings.design.change-theme" {{on "click" (fn this.toggleSection null)}}>
<span>Themes</span>
<span class="active-theme">Current: {{this.activeTheme.name}}{{#if this.activeTheme.package.version}} - V {{this.activeTheme.package.version}}{{/if}}</span>
<span class="active-theme">Current: {{this.activeTheme.name}}{{#if this.activeTheme.package.version}} - v{{this.activeTheme.package.version}}{{/if}}</span>
</LinkTo>
</div>
</section>

View File

@ -1502,7 +1502,6 @@ p.theme-validation-details {
}
.gh-nav-design-settings {
margin: 16px 0;
padding: 24px var(--mainmenu-padding) 32px calc(var(--mainmenu-padding) + 7px);
}
@ -1512,6 +1511,7 @@ p.theme-validation-details {
.gh-nav-design .gh-setting-title {
font-size: 1.45rem;
font-weight: 500;
}
.gh-nav-design .gh-setting-action {