1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-14 20:10:11 +03:00

Fixed alignment of data flash box

This commit is contained in:
Mr D - RC 2024-11-28 18:36:51 +00:00
parent aa8800719e
commit 68ce956d14
2 changed files with 3 additions and 3 deletions

View file

@ -529,7 +529,7 @@ GUI_control.prototype.update_dataflash_global = function () {
width: (100-(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize) / FC.DATAFLASH.totalSize * 100) + "%",
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 {
$(".noflash_global").css({
display: 'block'

View file

@ -1769,7 +1769,7 @@ dialog {
}
.dataflash-contents_global {
margin-top: 18px;
margin-top: 30px;
border: 1px solid #4A4A4A;
background-color: #4A4A4A;
display: flex;
@ -1800,7 +1800,7 @@ dialog {
.dataflash-contents_global li div {
position: absolute;
top: -18px;
top: -30px;
margin-top: 0;
left: 0;
right: 0;