From af7c6faf65b6dd7cc7ab31b613346397df2630f4 Mon Sep 17 00:00:00 2001 From: Zimo Date: Fri, 20 Apr 2018 17:20:15 +0200 Subject: [PATCH] Koenig - Fixing Markdown card styling in edit mode --- ghost/admin/app/styles/components/koenig-content.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/styles/components/koenig-content.css b/ghost/admin/app/styles/components/koenig-content.css index 5d3cbeda8b..d2d694050b 100644 --- a/ghost/admin/app/styles/components/koenig-content.css +++ b/ghost/admin/app/styles/components/koenig-content.css @@ -311,7 +311,7 @@ line-height: 0; } -.koenig-editor__editor div + div { +.koenig-editor__editor > div + div { margin: 3.2rem 0 0; } @@ -447,3 +447,13 @@ .koenig-card-markdown-rendered hr + p { margin: 3.2rem 0 0; } + +.koenig-editor .gh-markdown-editor pre { + border: none; + background: none; + white-space: normal; +} + +.koenig-editor .gh-markdown-editor a { + box-shadow: none; +}