1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

Fix RX MSP window size (#1440)

Fix RX MSP window size
This commit is contained in:
Michael Keller 2019-05-18 23:43:15 +12:00 committed by GitHub
commit 38eb82c053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View file

@ -3,6 +3,7 @@ body {
font-size: 12px; font-size: 12px;
color: #303030; color: #303030;
margin: 10px; margin: 10px;
overflow: hidden;
} }
.control-gimbals { .control-gimbals {
@ -12,6 +13,7 @@ body {
padding: 25px; padding: 25px;
padding-bottom: 0; padding-bottom: 0;
text-align: center; text-align: center;
display: inline-flex;
} }
.control-gimbal { .control-gimbal {
@ -109,6 +111,11 @@ a:hover {
} }
.button-enable a { .button-enable a {
/* Center the button */
position: absolute;
left: 50%;
transform: translate(-50%);
/* common styles for content toolbar buttons */ /* common styles for content toolbar buttons */
margin-top: 0px; margin-top: 0px;
margin-bottom: 0px; margin-bottom: 0px;

View file

@ -132,7 +132,7 @@ function localizeAxisNames() {
} }
$(document).ready(function() { $(document).ready(function() {
$(".button-enable").click(function() { $(".button-enable .btn").click(function() {
var var
shrinkHeight = $(".warning").height(); shrinkHeight = $(".warning").height();

View file

@ -50,8 +50,8 @@
</div> </div>
<div class="warning"> <div class="warning">
<p i18n="receiverMspWarningText"></p> <p i18n="receiverMspWarningText"></p>
<div class="button-enable btn"> <div class="button-enable">
<a class="button-enable" href="#" i18n="receiverMspEnableButton"></a> <a class="btn" href="#" i18n="receiverMspEnableButton"></a>
</div> </div>
</div> </div>
</body> </body>