From d813911a69d1be79a95add6d87cba41644e21ecc Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 13 Mar 2019 08:30:30 -0400 Subject: [PATCH] Add styling for GFM task lists Close #2092 --- CHANGELOG.md | 1 + _sass/minimal-mistakes/_utilities.scss | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca69743..e82335c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Enhancements +- Add styling for [GFM task lists](https://help.github.com/en/articles/about-task-lists#creating-task-lists). [#2092](https://github.com/mmistakes/minimal-mistakes/issues/2092) - Update Google Universal Analytics to load async. [#2079](https://github.com/mmistakes/minimal-mistakes/pull/2079) - Remove Google+ social sharing button, comment provider, and author link configs from theme. - Add missing Chinese text strings. [#2072](https://github.com/mmistakes/minimal-mistakes/pull/2072) diff --git a/_sass/minimal-mistakes/_utilities.scss b/_sass/minimal-mistakes/_utilities.scss index e569b60..a2f4b1c 100644 --- a/_sass/minimal-mistakes/_utilities.scss +++ b/_sass/minimal-mistakes/_utilities.scss @@ -103,6 +103,23 @@ body:hover .visually-hidden button { white-space: nowrap; } +/* + Task lists + ========================================================================== */ + +.task-list { + padding:0; + + li { + list-style-type: none; + } + + .task-list-item-checkbox { + margin-right: 0.5em; + opacity: 1; + } +} + /* Alignment ========================================================================== */ -- 2.45.2