Skip to content

Commit

Permalink
Fix: indentation of list with mkdocs-material as theme
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudBrrd authored and domWalters committed Jan 28, 2024
1 parent 60a6346 commit 0571445
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mkdocs_with_pdf/themes/material.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
.md-typeset > ul {
margin-left: 0rem !important;
}
.md-typeset ul li,
.md-typeset ol li {
margin-left: 1.5rem !important;
}

@media print {
.md-typeset {
// Tabbed code block container
Expand Down Expand Up @@ -65,7 +73,8 @@
padding-bottom: 0;
}
}
&>ul {
&>ul,
&>ol {
margin-left: 1.5rem;
}

Expand Down

0 comments on commit 0571445

Please sign in to comment.