diff --git a/ghost/admin/app/styles/components/koenig.css b/ghost/admin/app/styles/components/koenig.css index 75aa102fbb..5471a069df 100644 --- a/ghost/admin/app/styles/components/koenig.css +++ b/ghost/admin/app/styles/components/koenig.css @@ -377,11 +377,11 @@ .koenig-card { position: relative; display: flex; + width: calc(100% + 60px); border: 2px solid color(var(--blue) alpha(-85%)); flex-direction: row; border-radius: 4px; padding: 10px; - width: calc(100% + 60px); margin-left: -50px; max-width: none; cursor: default; @@ -403,6 +403,16 @@ .koenig-card-content { flex-grow: 1; + max-width: calc(100% - 40px); +} + +.koenig-card-click-overlay { + position: absolute; + left: 0; + right: 0; + top: 0; + bottom: 0; + z-index: 400; } /* specific cards... */ diff --git a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-html.hbs b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-html.hbs index bff7bd0afa..ad6596da4e 100644 --- a/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-html.hbs +++ b/ghost/admin/lib/koenig-editor/addon/templates/components/koenig-card-html.hbs @@ -13,5 +13,6 @@ }} {{else}} {{{payload.html}}} +
{{/if}} {{/koenig-card}}