From 48bbb2317495ec5db8b926b4dba3b3f1acf3019c Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Wed, 8 Apr 2020 14:01:04 +0200 Subject: [PATCH] Added email indicator icon, card menu style bugfix no refs. - added indicator icon to appropriately show which card is a newsletter email one - fixed bug of card menu staying the same height when triggered via "/" menu --- ghost/admin/app/styles/spirit/_koenig.css | 2 +- .../addon/templates/components/koenig-card-email.hbs | 2 +- .../koenig-editor/public/icons/koenig/card-indicator-email.svg | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ghost/admin/lib/koenig-editor/public/icons/koenig/card-indicator-email.svg diff --git a/ghost/admin/app/styles/spirit/_koenig.css b/ghost/admin/app/styles/spirit/_koenig.css index 8d5526e32c..c79fd3499b 100644 --- a/ghost/admin/app/styles/spirit/_koenig.css +++ b/ghost/admin/app/styles/spirit/_koenig.css @@ -858,7 +858,7 @@ /* Chrome has a bug with its scrollbars on this element which has been reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=697381 */ .koenig-cardmenu { width: 272px; - height: 580px; + max-height: 580px; background-clip: padding-box; z-index: 9999999; /* have to compete with codemirror */ left: -16px; diff --git a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-email.hbs b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-email.hbs index 46ff7958da..193ca71c71 100644 --- a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-email.hbs +++ b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-email.hbs @@ -1,5 +1,5 @@ Stroke 1 \ No newline at end of file