1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 09:45:28 +03:00

Fix esc direction dialog on android

Remove unneeded motors dialog and add new class

Fix dialog Height

semicolon fix
This commit is contained in:
Asizon 2021-01-07 15:23:14 +01:00
parent f42cefc8f9
commit 5a940705d5
3 changed files with 7 additions and 34 deletions

View file

@ -1514,7 +1514,8 @@ dialog .dialog_toolbar .btn a.disabled {
@media all and (max-width: 575px) { @media all and (max-width: 575px) {
dialog { dialog {
position: fixed; position: fixed;
width: calc(100% - 2em); width: calc(100% - 2em) !important;
height: auto !important;
bottom: 0; bottom: 0;
top: 56px; top: 56px;
border-radius: unset; border-radius: unset;

View file

@ -23,10 +23,10 @@
margin-bottom: 0px; margin-bottom: 0px;
} }
.tab-motors #dialogMotorOutputReorder { .tab-motors .motorDialog {
width: 400px; width: 400px;
height: 440px height: 440px;
;} }
.tab-motors #dialogMotorOutputReorderContentWrapper { .tab-motors #dialogMotorOutputReorderContentWrapper {
display: flex; display: flex;
@ -47,11 +47,6 @@
bottom: 0px; bottom: 0px;
} }
.tab-motors #escDshotDirectionDialog {
width: 400px;
height: 440px;
}
.tab-motors #escDshotDirectionDialog-ContentWrapper { .tab-motors #escDshotDirectionDialog-ContentWrapper {
display: flex; display: flex;
flex-flow: column; flex-flow: column;
@ -471,27 +466,4 @@
.tab-motors .motor_testing .telemetry li { .tab-motors .motor_testing .telemetry li {
font-size: 6px; font-size: 6px;
} }
.tab-motors #dialogMotorOutputReorder {
position: fixed;
width: calc(100% - 2em);
bottom: 0;
top: 56px;
border-radius: unset;
border: none;
overflow: auto;
margin: 0;
height: auto;
}
.tab-motors #escDshotDirectionDialog- {
position: fixed;
width: calc(100% - 2em);
bottom: 0;
top: 56px;
border-radius: unset;
border: none;
overflow: auto;
margin: 0;
height: auto;
}
} }

View file

@ -192,7 +192,7 @@
<div class="clear-both"></div> <div class="clear-both"></div>
</div> </div>
<dialog id="dialogMotorOutputReorder"> <dialog id="dialogMotorOutputReorder" class="motorDialog">
<div id="dialogMotorOutputReorderContentWrapper"> <div id="dialogMotorOutputReorderContentWrapper">
<div id="dialogMotorOutputReorderContent"> <div id="dialogMotorOutputReorderContent">
</div> </div>
@ -202,7 +202,7 @@
</div> </div>
</dialog> </dialog>
<dialog id="escDshotDirectionDialog"> <dialog id="escDshotDirectionDialog" class="motorDialog">
<div id="escDshotDirectionDialog-ContentWrapper"> <div id="escDshotDirectionDialog-ContentWrapper">
<div id="escDshotDirectionDialog-Content"> <div id="escDshotDirectionDialog-Content">
</div> </div>