mirror of https://github.com/tiangolo/fastapi.git
💄 Fix code blocks in reference docs overflowing table width (#15094)
This commit is contained in:
parent
fce9460f86
commit
fd9e192cf4
|
|
@ -254,6 +254,12 @@ Inspired by Termynal's CSS tricks with modifications
|
||||||
box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
|
box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.doc-param-details .highlight {
|
||||||
|
overflow-x: auto;
|
||||||
|
width: 0;
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.md-typeset dfn {
|
.md-typeset dfn {
|
||||||
border-bottom: .05rem dotted var(--md-default-fg-color--light);
|
border-bottom: .05rem dotted var(--md-default-fg-color--light);
|
||||||
cursor: help;
|
cursor: help;
|
||||||
|
|
|
||||||
|
|
@ -279,6 +279,7 @@ markdown_extensions:
|
||||||
pymdownx.caret: null
|
pymdownx.caret: null
|
||||||
pymdownx.highlight:
|
pymdownx.highlight:
|
||||||
line_spans: __span
|
line_spans: __span
|
||||||
|
linenums_style: pymdownx-inline
|
||||||
pymdownx.inlinehilite: null
|
pymdownx.inlinehilite: null
|
||||||
pymdownx.keys: null
|
pymdownx.keys: null
|
||||||
pymdownx.mark: null
|
pymdownx.mark: null
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue