Skip to content

Commit c5b77cb

Browse files
authored
Fix swagger css (#301)
1 parent ad3a8ee commit c5b77cb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
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

Lines changed: 6 additions & 0 deletions
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)