mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-10-27 06:20:27 +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:
1 parent
4da4ce8f7c
commit
3418c8320c
1 file changed
+8
@@ -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