From 6822e0246f96c58af5d0984bd8243bb22891fdcc Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 8 Jul 2021 09:37:55 +0200 Subject: [PATCH 1/2] MOBILE-3320 format-text: Remove display contents --- src/theme/components/format-text.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/theme/components/format-text.scss b/src/theme/components/format-text.scss index 197e58196..f209f2273 100644 --- a/src/theme/components/format-text.scss +++ b/src/theme/components/format-text.scss @@ -16,12 +16,11 @@ body.dark core-format-text { } core-format-text { - display: contents; + display: block; .core-format-text-loader { opacity: 0; @include core-transition(opacity, 200ms); - display: contents; } &.core-format-text-loading { @@ -32,7 +31,6 @@ core-format-text { background-color: rgba(0,0,0,.1); overflow: hidden; border-radius: 5px; - display: block; .core-format-text-loader { position: absolute; @@ -68,7 +66,6 @@ core-format-text { &[maxHeight], &[ng-reflect-max-height] { - display: block; position: relative; width: 100%; overflow: hidden; From 14a76708b940f2706b42ff39891d3d669ce6b8d3 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 8 Jul 2021 10:42:11 +0200 Subject: [PATCH 2/2] MOBILE-3320 rte: Remove user agent margin --- src/theme/components/format-text.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/theme/components/format-text.scss b/src/theme/components/format-text.scss index f209f2273..325ab0460 100644 --- a/src/theme/components/format-text.scss +++ b/src/theme/components/format-text.scss @@ -291,6 +291,7 @@ core-rich-text-editor .core-rte-editor { p { margin-bottom: 1rem; + margin-block-start: 0; } .no-overflow {