Skip to content

Commit

Permalink
Add styling for GFM task lists
Browse files Browse the repository at this point in the history
Close #2092
  • Loading branch information
mmistakes committed Mar 13, 2019
1 parent 097c01e commit 8625e07
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
17 changes: 17 additions & 0 deletions _sass/minimal-mistakes/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
========================================================================== */
Expand Down
3 changes: 2 additions & 1 deletion docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2019-03-05T18:56:32-05:00
last_modified_at: 2019-03-13T08:30:09-04:00
toc: false
---

## Unreleased

### 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)
Expand Down
8 changes: 7 additions & 1 deletion test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ Nested and mixed lists are an interesting beast. It's a corner case to make sure
1. **ordered item**
2. **ordered item**
* unordered item
* unordered item
* unordered item

### Task Lists

- [x] Finish my changes
- [ ] Push my commits to GitHub
- [ ] Open a pull request

0 comments on commit 8625e07

Please sign in to comment.