Skip to content

Commit a72ca1e

Browse files
committed
fix: invisible admonition in dark mode
1 parent 96b840a commit a72ca1e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/assets/styles/sphinx-preview.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@
5151
.topic,
5252
.admonition,
5353
.sidebar {
54-
background-color: whitesmoke;
54+
@apply m-4 bg-gray-200 px-8 py-1 dark:bg-gray-700;
5555
border-left: 5px solid #dbdbdb;
56-
padding: 1.25em 1.5em;
57-
margin: 1em;
5856
}
5957

6058
.sidebar {

0 commit comments

Comments
 (0)