MOBILE-2782 styles: Fix list positions

main
Pau Ferrer Ocaña 2018-12-10 11:59:51 +01:00
parent 6d97bbb2b6
commit 9c2088946d
2 changed files with 3 additions and 10 deletions

View File

@ -22,9 +22,6 @@ ion-app.app-root core-rich-text-editor {
resize: none; resize: none;
background-color: $white; background-color: $white;
flex-grow: 1; flex-grow: 1;
* {
overflow: hidden;
}
} }
.core-rte-editor { .core-rte-editor {

View File

@ -1,9 +1,11 @@
/** Styles to match web platform */ /** Styles to match web platform */
ion-app.app-root core-format-text, ion-app.app-root core-format-text,
ion-app.app-root .item 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(); @include core-headings();
font-size: 1.4rem;
p { p {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@ -11,22 +13,16 @@ ion-app.app-root .core-rte-editor {
// Fix lists styles in core-format-text. // Fix lists styles in core-format-text.
ul { ul {
padding-left: 1rem; padding-left: 1rem;
list-style-type: disc;
} }
ol { ol {
list-style-type: decimal; list-style-type: decimal;
} }
ul, ol { ul, ol {
-webkit-padding-start: 15px; -webkit-padding-start: 15px;
list-style-position: inside;
ul {
list-style-type: circle;
}
ol { ol {
list-style-type: lower-latin; list-style-type: lower-latin;
} }
ul, ol { ul, ol {
list-style-position: inside;
@include margin(null, null, null, 15px); @include margin(null, null, null, 15px);
} }
} }