Skip to content

Commit 9576a47

Browse files
committed
Fix swagger css
1 parent 8cd4ccd commit 9576a47

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ RUN \
1818
python3 && \
1919
mkdir -p /app/mkdocs/docs && \
2020
git config --global --add safe.directory /app/mkdocs && \
21-
# Can remove and swap to swagger-http once they add https://github.com/mkdocs/mkdocs/pull/3851
22-
curl -o /app/mkdocs/docs/openapi.json -L "https://api.linuxserver.io/openapi.json" && \
2321
python3 -m venv /lsiopy && \
2422
pip install -U --no-cache-dir \
2523
pip \

docs/stylesheets/extra.css

+6
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@
1717
.md-typeset .faq > summary::before {
1818
visibility: hidden;
1919
}
20+
.swagger-ui .scheme-container, .swagger-ui select, .swagger-ui .opblock .opblock-section-header, .swagger-ui .opblock-body pre.microlight {
21+
background: var(--md-default-bg-color) !important;
22+
}
23+
.swagger-ui * {
24+
color: var(--md-typeset-color) !important;
25+
}

0 commit comments

Comments
 (0)