diff --git a/ghost/admin/.lint-todo b/ghost/admin/.lint-todo index 3974af14ad..633efb6b54 100644 --- a/ghost/admin/.lint-todo +++ b/ghost/admin/.lint-todo @@ -1103,4 +1103,5 @@ add|ember-template-lint|no-action|3|13|3|13|288404c640071968cb22e09f4b5f2e815e0f add|ember-template-lint|no-action|4|11|4|11|831dd12209c22868d0614c65417281fda7991f09|1649203200000|1651795200000|1654387200000|app/templates/settings/integration/webhooks/new.hbs add|ember-template-lint|require-valid-alt-text|3|44|3|44|a7f0566c430150bae4153e0dfb489a218bdeb8a4|1649203200000|1651795200000|1654387200000|lib/koenig-editor/addon/components/koenig-card-embed/nft.hbs add|ember-template-lint|require-valid-alt-text|8|20|8|20|9d0c591086dc9139ff38a7b385c3367a83438786|1649203200000|1651795200000|1654387200000|lib/koenig-editor/addon/components/koenig-card-embed/nft.hbs -add|ember-template-lint|require-input-label|10|12|10|12|8c3c0ea315ff4da828363989a45fa11256a78796|1649203200000|1651795200000|1654387200000|lib/koenig-editor/addon/components/koenig-card-image/selector-tenor.hbs \ No newline at end of file +add|ember-template-lint|require-input-label|10|12|10|12|8c3c0ea315ff4da828363989a45fa11256a78796|1649203200000|1651795200000|1654387200000|lib/koenig-editor/addon/components/koenig-card-image/selector-tenor.hbs +remove|ember-template-lint|no-with|2|0|2|0|0f2ccc59fb9c8536430187580b4cfcc9e946d780|1649203200000|1651795200000|1654387200000|app/components/gh-basic-dropdown.hbs diff --git a/ghost/admin/app/components/gh-basic-dropdown.hbs b/ghost/admin/app/components/gh-basic-dropdown.hbs index ed06086116..1458cd8cfd 100644 --- a/ghost/admin/app/components/gh-basic-dropdown.hbs +++ b/ghost/admin/app/components/gh-basic-dropdown.hbs @@ -1,5 +1,5 @@ {{!-- no changes from upstream --}} -{{#with +{{#let (hash uniqueId=this.publicAPI.uniqueId isOpen=this.publicAPI.isOpen @@ -36,4 +36,4 @@ as |api| {{else}} {{yield api}} {{/if}} -{{/with}} \ No newline at end of file +{{/let}} \ No newline at end of file diff --git a/ghost/admin/app/components/settings/members-email-labs/newsletter-management.hbs b/ghost/admin/app/components/settings/members-email-labs/newsletter-management.hbs index fa57fbd357..c295a103bb 100644 --- a/ghost/admin/app/components/settings/members-email-labs/newsletter-management.hbs +++ b/ghost/admin/app/components/settings/members-email-labs/newsletter-management.hbs @@ -82,40 +82,35 @@ {{#if this.displayingDefault}} Customize → {{else}} - - + + {{svg-jar "dotdotdot"}} - - -
  • - Edit -
  • - {{#if (eq newsletter.status "active")}} + + + + + {{/if}} diff --git a/ghost/admin/app/styles/layouts/settings.css b/ghost/admin/app/styles/layouts/settings.css index 06d5edae94..1556ae501a 100644 --- a/ghost/admin/app/styles/layouts/settings.css +++ b/ghost/admin/app/styles/layouts/settings.css @@ -1021,15 +1021,8 @@ margin-right: 0; } -.gh-newsletter-card-block .dropdown { - z-index: inherit; -} - -.gh-newsletter-card-block .gh-newsletter-actions-menu { - z-index: 9999; - top: calc(100% + 6px); - left: auto; - right: 0; +.gh-newsletter-actions-menu { + margin-top: 4px; } .gh-add-newsletter { diff --git a/ghost/admin/app/styles/patterns/global.css b/ghost/admin/app/styles/patterns/global.css index d8f5015772..a25fdb9845 100644 --- a/ghost/admin/app/styles/patterns/global.css +++ b/ghost/admin/app/styles/patterns/global.css @@ -729,6 +729,27 @@ input[type="image"] { animation-fill-mode: forwards; } +/* + * for use with {{css-transition "anim-fade-in-scale"}} + * used on elements that are added/removed rather than shown/hidden + */ +.anim-fade-in-scale-enter, +.anim-fade-in-scale-leave-to { + opacity: 0; +} +.anim-fade-in-scale-enter-to, +.anim-fade-in-scale-leave { + opacity: 1; +} +.anim-fade-in-scale-enter-active { + animation: fade-in 0.2s; + animation-fill-mode: forwards; +} +.anim-fade-in-scale-leave-active { + animation: fade-out 0.5s; + animation-fill-mode: forwards; +} + /* * liquid-fire normally hides overflow so that the container size can grow to * reveal it's contents but that hidden overflow will cut off tooltips or other