mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
doc/common/css/ide: improve styling of field list
The default style of using a grid with two columns wastes space when displayed in a narrow pane, like in Pybricks Code. Using flex with column direction makes it flow from top to bottom. Fixes: https://github.com/pybricks/support/issues/832
This commit is contained in:
committed by
laurensvalk
parent
4da4ce8f7c
commit
3418c8320c
@@ -40,3 +40,11 @@
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #182026;
|
||||
}
|
||||
|
||||
html.writer-html5 .rst-content dl.citation,
|
||||
html.writer-html5 .rst-content dl.field-list,
|
||||
html.writer-html5 .rst-content dl.footnote {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-template-columns: unset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user