Skip to content

Commit

Permalink
tidy react quill stolen styling a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
taraepp committed Oct 25, 2024
1 parent b9b8042 commit 8feb48a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions services/core-web/src/styles/components/HelpGuide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@

li {
list-style-position: inside;

&:before {
content: none !important;
}
}

li.ql-indent-1 {
Expand Down Expand Up @@ -67,7 +71,7 @@
counter-increment: list-0;
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-0, decimal) '. ';
}
}
Expand All @@ -76,7 +80,7 @@
counter-increment: list-1;
counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-1, lower-alpha) '. ';
}
}
Expand All @@ -85,10 +89,9 @@
counter-increment: list-2;
counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-2, lower-roman) '. ';
}
}
}

}
11 changes: 7 additions & 4 deletions services/minespace-web/src/styles/components/HelpGuide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@

li {
list-style-position: inside;

&:before {
content: none !important;
}
}

li.ql-indent-1 {
Expand Down Expand Up @@ -67,7 +71,7 @@
counter-increment: list-0;
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-0, decimal) '. ';
}
}
Expand All @@ -76,7 +80,7 @@
counter-increment: list-1;
counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-1, lower-alpha) '. ';
}
}
Expand All @@ -85,10 +89,9 @@
counter-increment: list-2;
counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;

&:before {
&::marker {
content: counter(list-2, lower-roman) '. ';
}
}
}

}

0 comments on commit 8feb48a

Please sign in to comment.