From 9c2088946dfce5235fb453345b5ecb0df74f9ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 10 Dec 2018 11:59:51 +0100 Subject: [PATCH] MOBILE-2782 styles: Fix list positions --- src/components/rich-text-editor/rich-text-editor.scss | 3 --- src/theme/format-text.scss | 10 +++------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/components/rich-text-editor/rich-text-editor.scss b/src/components/rich-text-editor/rich-text-editor.scss index d0b6106e8..8bce984e8 100644 --- a/src/components/rich-text-editor/rich-text-editor.scss +++ b/src/components/rich-text-editor/rich-text-editor.scss @@ -22,9 +22,6 @@ ion-app.app-root core-rich-text-editor { resize: none; background-color: $white; flex-grow: 1; - * { - overflow: hidden; - } } .core-rte-editor { diff --git a/src/theme/format-text.scss b/src/theme/format-text.scss index e9be9f493..cfb891845 100644 --- a/src/theme/format-text.scss +++ b/src/theme/format-text.scss @@ -1,9 +1,11 @@ /** Styles to match web platform */ ion-app.app-root core-format-text, ion-app.app-root .item core-format-text, -ion-app.app-root .core-rte-editor { +ion-app.app-root core-rich-text-editor .core-rte-editor { @include core-headings(); + font-size: 1.4rem; + p { margin-bottom: 1rem; } @@ -11,22 +13,16 @@ ion-app.app-root .core-rte-editor { // Fix lists styles in core-format-text. ul { padding-left: 1rem; - list-style-type: disc; } ol { list-style-type: decimal; } ul, ol { -webkit-padding-start: 15px; - list-style-position: inside; - ul { - list-style-type: circle; - } ol { list-style-type: lower-latin; } ul, ol { - list-style-position: inside; @include margin(null, null, null, 15px); } }