0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
Sanne de Vries 2022-04-26 17:53:52 +01:00
parent 118aae2820
commit 8fc797609d
2 changed files with 23 additions and 1 deletions

View file

@ -63,12 +63,13 @@
<div class="form-group">
{{#if (and (feature "multipleNewsletters") (gt @availableNewsletters.length 1))}}
<div class="mb3">
<p>Newsletter</p>
<PowerSelect
@selected={{@selectedNewsletter}}
@options={{@availableNewsletters}}
@onChange={{@selectNewsletter}}
@triggerComponent="gh-power-select/trigger"
@triggerClass="gh-publishmenu-newsletter-trigger"
@dropdownClass="gh-publishmenu-newsletter-dropdown"
@renderInPlace={{true}}
as |newsletter|
>

View file

@ -357,6 +357,27 @@
color: var(--midgrey) !important;
}
.gh-publishmenu-newsletter-trigger {
padding: 7px 10px;
}
.gh-publishmenu-newsletter-trigger svg {
position: absolute;
top: 50%;
right: 10px;
}
.gh-publishmenu-newsletter-trigger svg {
position: absolute;
top: 50%;
right: 10px;
}
.gh-publishmenu-newsletter-dropdown .ember-power-select-option[aria-selected="true"] {
color: var(--black);
font-weight: 600;
}
/* Publish Page (Labs)
/* ---------------------------------------------------------- */