0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00

Updated newsletter count in newsletter selection dropdown

Refs https://github.com/TryGhost/Team/issues/1544
This commit is contained in:
Sanne de Vries 2022-05-12 15:03:17 +01:00
parent f564943aa9
commit 4795343cdb
2 changed files with 10 additions and 1 deletions
ghost/admin/app
components/editor-labs/publish-options
styles/components

View file

@ -19,7 +19,7 @@
@dropdownClass="gh-publish-newsletter-dropdown"
as |newsletter|
>
{{newsletter.name}} <span>({{newsletter.count.members}})</span>
<span>{{newsletter.name}}</span><span class="gh-newsletter-count">{{newsletter.count.members}}</span>
</PowerSelect>
</div>
{{/if}}

View file

@ -444,6 +444,11 @@
font-weight: 600;
}
.gh-publish-newsletter-dropdown .ember-power-select-option {
display: flex;
justify-content: space-between;
}
/* Publish Page (Labs)
/* ---------------------------------------------------------- */
@ -645,6 +650,10 @@
stroke-width: 4;
}
.gh-publish-newsletter-trigger .gh-newsletter-count {
display: none;
}
.gh-publish-newsletter-dropdown {
z-index: 99999;
padding: 4px 0;