diff options
author | Jared Deckard <jared.deckard@gmail.com> | 2017-02-07 01:25:30 +0300 |
---|---|---|
committer | Jared Deckard <jared.deckard@gmail.com> | 2017-02-10 18:44:31 +0300 |
commit | e7e2562e4f82b10301e899ebb0e355df6beac0e6 (patch) | |
tree | 70140e714637b6a8fdbb63381bca49dd277d1a6f /app/assets/stylesheets/framework/typography.scss | |
parent | 8a42045c6e6493f2ada2e6f9251d25aadacb8f76 (diff) |
Position task list checkbox to match the list indent
Diffstat (limited to 'app/assets/stylesheets/framework/typography.scss')
-rw-r--r-- | app/assets/stylesheets/framework/typography.scss | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss index 54958973f15..db5e2c51fe7 100644 --- a/app/assets/stylesheets/framework/typography.scss +++ b/app/assets/stylesheets/framework/typography.scss @@ -134,7 +134,7 @@ ul, ol { padding: 0; - margin: 3px 0 3px 28px !important; + margin: 3px 0 !important; } ul:dir(rtl), @@ -144,6 +144,29 @@ li { line-height: 1.6em; + margin-left: 25px; + padding-left: 3px; + + /* Normalize the bullet position on webkit. */ + @include on-webkit-only { + margin-left: 28px; + padding-left: 0; + } + } + + ul.task-list { + li.task-list-item { + list-style-type: none; + position: relative; + padding-left: 28px; + margin-left: 0 !important; + + input.task-list-item-checkbox { + position: absolute; + left: 8px; + top: 5px; + } + } } a[href*="/uploads/"], |