diff options
Diffstat (limited to 'app/assets/stylesheets/framework/typography.scss')
-rw-r--r-- | app/assets/stylesheets/framework/typography.scss | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index 16ff4b81f95..51c41c46f61 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -365,10 +365,17 @@ padding: 0; margin: 0 0 16px; + // Lists embedded in other lists can be "loose" or "tight" + // Remove bottom margin for all lists (default for tight lists) ul, ol { margin-bottom: 0; } + + // Loose lists need bottom margin added back + p ~ ol, + p ~ ul { + margin-bottom: 16px;
} } ul:dir(rtl), @@ -420,12 +427,12 @@ list-style-type: none; position: relative; min-height: 22px; - padding-left: 28px; - margin-left: 0 !important; + padding-inline-start: 28px; + margin-inline-start: 0 !important; > input.task-list-item-checkbox { position: absolute; - left: 8px; + inset-inline-start: 8px; top: 5px; } } @@ -590,6 +597,8 @@ .text-justify { text-align: justify !important; } + + @include email-code-block; } /** |