mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Updated newsletter dropdown in publish-menu
Refs https://www.notion.so/ghost/Pre-5-0-V1-multiple-newsletter-release-49fa1b62b8e840e29dca32d79ef201f5#952519fa03de408ca6f2ab9a4c754daa
This commit is contained in:
parent
118aae2820
commit
8fc797609d
2 changed files with 23 additions and 1 deletions
|
@ -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|
|
||||
>
|
||||
|
|
|
@ -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)
|
||||
/* ---------------------------------------------------------- */
|
||||
|
|
Loading…
Add table
Reference in a new issue