mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 17:55:24 +03:00
commit
38eb82c053
3 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue