mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 20:35:19 +03:00
Fixed alignment of data flash box
This commit is contained in:
parent
aa8800719e
commit
68ce956d14
2 changed files with 3 additions and 3 deletions
|
@ -529,7 +529,7 @@ GUI_control.prototype.update_dataflash_global = function () {
|
||||||
width: (100-(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize) / FC.DATAFLASH.totalSize * 100) + "%",
|
width: (100-(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize) / FC.DATAFLASH.totalSize * 100) + "%",
|
||||||
display: 'block'
|
display: 'block'
|
||||||
});
|
});
|
||||||
$(".dataflash-free_global div").text(i18n.getMessage('sensorDataFlashFreeSpace') + formatFilesize(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize));
|
$(".dataflash-free_global div").html(i18n.getMessage('sensorDataFlashFreeSpace') + formatFilesize(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize));
|
||||||
} else {
|
} else {
|
||||||
$(".noflash_global").css({
|
$(".noflash_global").css({
|
||||||
display: 'block'
|
display: 'block'
|
||||||
|
|
|
@ -1769,7 +1769,7 @@ dialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
.dataflash-contents_global {
|
.dataflash-contents_global {
|
||||||
margin-top: 18px;
|
margin-top: 30px;
|
||||||
border: 1px solid #4A4A4A;
|
border: 1px solid #4A4A4A;
|
||||||
background-color: #4A4A4A;
|
background-color: #4A4A4A;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -1800,7 +1800,7 @@ dialog {
|
||||||
|
|
||||||
.dataflash-contents_global li div {
|
.dataflash-contents_global li div {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -18px;
|
top: -30px;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue