Skip to content

Commit

Permalink
style: Make margins of ol same to margins of ul
Browse files Browse the repository at this point in the history
(cherry picked from commit 1f12ac2)
  • Loading branch information
lens0021 committed Jun 10, 2021
1 parent f19d3c9 commit b60136f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Versions and bullets are arranged chronologically from latest to oldest.
- Fixes unnecessary delimiter in the footer (https://github.com/femiwiki/FemiwikiSkin/issues/104)
- Uses AutoloadNamespace (https://github.com/femiwiki/femiwiki/issues/121)
- Replaces hard-coded hrefs in GNB (https://github.com/femiwiki/FemiwikiSkin/issues/241)
- Makes margins of ol same to margins of ul.

## v1.7.0

Expand Down
23 changes: 8 additions & 15 deletions resources/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,12 @@
margin: 0.2em 0;
}

// Listsol,
// Lists
ol,
ul {
margin: 0.3em 0 0 1.6em;
padding: 0;

li {
margin-bottom: 0.5rem;

Expand All @@ -409,20 +413,9 @@
}
}

ol {
margin: 0.3em 0 0 3.2em;
padding: 0;
list-style-image: none;
}

ul {
margin: 0.3em 0 0 1.6em;
padding: 0;

&.gallery {
margin: 1.6rem 0 1.6rem;
padding-left: 1.2rem;
}
ul.gallery {
margin: 1.6rem 0 1.6rem;
padding-left: 1.2rem;
}

dl {
Expand Down

0 comments on commit b60136f

Please sign in to comment.