Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/betaflight/betaflight-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lumley <ben@benlumley.co.uk>2022-05-18 13:56:12 +0300
committerBen Lumley <ben@benlumley.co.uk>2022-05-18 13:56:12 +0300
commit6120a0754aebf80d9245621a51372a725fa1be91 (patch)
treed5df1e244d4ef08a83ead98607cbe7390a5d35bf
parentc35ed2ca898f5075d6ef4f61879c27764f07e47c (diff)
Adjust osd variant picker wrapping
-rw-r--r--src/css/tabs/osd.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/css/tabs/osd.css b/src/css/tabs/osd.css
index a9724392..46990003 100644
--- a/src/css/tabs/osd.css
+++ b/src/css/tabs/osd.css
@@ -429,16 +429,20 @@ button {
.tab-osd .switchable-field-flex .switchable-field-description {
display: flex;
- flex-direction: column;
+ flex-direction: row;
/*
min width here is counterintuitive/seems to do nothing. but important, stops the variant selects overflowing
see https: //stackoverflow.com/questions/36230944/prevent-flex-items-from-overflowing-a-container
*/
min-width: 0;
+ justify-content: space-between;
+ width: 100%;
+ flex-wrap: wrap;
}
+
.tab-osd .switchable-field-flex .switchable-field-description .osd-variant {
- margin-top: 5px;
+ flex-grow: 2;
}
.spacer_box_title span {