Skip to content

Commit

Permalink
Style: Fix graph layout in Sensors tab (#4122)
Browse files Browse the repository at this point in the history
* Lint: Fix pre-commit lint issue

* Style: Fix graph layout in Sensors tab

* Style: Add missed styles
  • Loading branch information
VitroidFPV authored Aug 4, 2024
1 parent 153ad0e commit af94769
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 329 deletions.
6 changes: 6 additions & 0 deletions src/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,12 @@ each(range(12), {
gap: 1rem;
}
}
.graph-grid {
width: 100%;
display: grid;
gap: 1rem;
grid-template-columns: auto max-content;
}
@media not all and (max-width: 575px) {
.visible-on-phone-only {
display: none !important;
Expand Down
2 changes: 1 addition & 1 deletion src/js/tabs/gps.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ gps.initialize = async function (callback) {
const positionalDop = FC.GPS_DATA.positionalDop / 100;
$('.GPS_info td.positionalDop').text(`${positionalDop.toFixed(2)}`);
}

updateSignalStrengths();

let gpsFoundPosition = false;
Expand Down
Loading

0 comments on commit af94769

Please sign in to comment.