Skip to content

Commit a6c8571

Browse files
committed
Cleanup article list padding
1 parent 5fc74ca commit a6c8571

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

pytorch_sphinx_theme/static/css/theme.css

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/_sphinx_base.scss

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,21 @@ a:visited {
9191
}
9292
}
9393
}
94+
95+
article.pytorch-article {
96+
ul,
97+
ol {
98+
padding-left: rem(20px);
99+
margin: 0;
100+
101+
li {
102+
margin: 0;
103+
}
104+
}
105+
}
106+
107+
article.pytorch-article {
108+
p.caption {
109+
margin-top: rem(20px);
110+
}
111+
}

0 commit comments

Comments
 (0)