Skip to content

Commit

Permalink
Fix: list tag priority (issue #3)
Browse files Browse the repository at this point in the history
Change-Id: Iea02342381e78eb5977981f6fec3e1222f33a090
  • Loading branch information
elonz committed Dec 7, 2021
1 parent 0478cfa commit dc74ac8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/themes/core/mweb-bear.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ ol {

// list marker

ul li {
ul > li {
position: relative;

&:before {
Expand All @@ -159,7 +159,7 @@ ul li {
}
}

ol li {
ol > li {
position: relative;

&:before {
Expand Down
8 changes: 4 additions & 4 deletions src/themes/mweb-lark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ul {
padding: 0px;
list-style: none;

li:not([class*="task-list-item"]) {
> li:not([class*="task-list-item"]) {
word-wrap: break-all;
padding-left: 22px;

Expand All @@ -97,14 +97,14 @@ ul {
font-family: PingFangSC-Regular,PingFang SC;
}

li:not([class*="task-list-item"]) {
ul > li:not([class*="task-list-item"]) {
&::before {
content: "\25E6";
transform: scale(1);
font-weight: 700;
}

li:not([class*="task-list-item"]) {
ul > li:not([class*="task-list-item"]) {
&::before {
content: "\25AA";
transform: scale(1.25);
Expand All @@ -121,7 +121,7 @@ ol {
padding: 0px;
list-style: none;

li:not([class*=task-list-item]) {
> li:not([class*=task-list-item]) {
word-wrap: break-all;
padding-left: 22px;
position: relative;
Expand Down

0 comments on commit dc74ac8

Please sign in to comment.