X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/82a8db373961d89ab1c9a3736ba5fc467fe2e03d..refs/pull/2023/head:/resources/sass/_text.scss diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 77e0773eb..8d2759b91 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -238,7 +238,6 @@ code { padding: 1px 3px; white-space:pre-wrap; line-height: 1.2em; - margin-bottom: 1.2em; } span.code { @@ -263,7 +262,6 @@ span.highlight { * Lists */ ul, ol { - overflow: hidden; p { margin: 0; } @@ -296,6 +294,13 @@ li.checkbox-item, li.task-list-item { } } +li > ol, li > ul { + margin-block-end: 0px; + margin-block-start: 0px; + padding-block-end: 0px; + padding-block-start: 0px; +} + /* * Generic text styling classes */ @@ -307,10 +312,10 @@ li.checkbox-item, li.task-list-item { text-align: center; } .text-left { - text-align: left; + text-align: start; } .text-right { - text-align: right; + text-align: end; } @each $sizeLetter, $size in $screen-sizes { @@ -319,10 +324,10 @@ li.checkbox-item, li.task-list-item { text-align: center; } .text-#{$sizeLetter}-left { - text-align: left; + text-align: start; } .text-#{$sizeLetter}-right { - text-align: right; + text-align: end; } } } @@ -378,6 +383,6 @@ span.sep { display: inline-block; position: relative; bottom: -0.105em; - margin-right: $-xs; + margin-inline-end: $-xs; pointer-events: none; }