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;
|
||||
color: #303030;
|
||||
margin: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.control-gimbals {
|
||||
|
@ -12,6 +13,7 @@ body {
|
|||
padding: 25px;
|
||||
padding-bottom: 0;
|
||||
text-align: center;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.control-gimbal {
|
||||
|
@ -109,6 +111,11 @@ a:hover {
|
|||
}
|
||||
|
||||
.button-enable a {
|
||||
/* Center the button */
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
|
||||
/* common styles for content toolbar buttons */
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
|
|
|
@ -132,7 +132,7 @@ function localizeAxisNames() {
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$(".button-enable").click(function() {
|
||||
$(".button-enable .btn").click(function() {
|
||||
var
|
||||
shrinkHeight = $(".warning").height();
|
||||
|
||||
|
|
|
@ -50,8 +50,8 @@
|
|||
</div>
|
||||
<div class="warning">
|
||||
<p i18n="receiverMspWarningText"></p>
|
||||
<div class="button-enable btn">
|
||||
<a class="button-enable" href="#" i18n="receiverMspEnableButton"></a>
|
||||
<div class="button-enable">
|
||||
<a class="btn" href="#" i18n="receiverMspEnableButton"></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue