Skip to content

A platform for community discussion. Free, open, simple.

DEV: Normalize `ol` and `ul` styling (#16027)

Penar Musaraj715ec0d72f5c
diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss
index 972e2f7ac7c..c3e28a3a7d0 100644
--- a/app/assets/stylesheets/common/foundation/base.scss
+++ b/app/assets/stylesheets/common/foundation/base.scss
@@ -62,6 +62,7 @@ hr {
// --------------------------------------------------
ul,
+ol,
dd {
margin: 1em 0 1em 1.25em;
padding: 0;
@@ -73,9 +74,12 @@ dd {
clear: both;
}
-.cooked ul,
-.d-editor-preview ul {
- padding-left: 1.25em;
+.cooked,
+.d-editor-preview {
+ ul,
+ ol {
+ padding-left: 1.25em;
+ }
}
li,