1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-26 09:45:23 +03:00

Fix preview size

Still plan on adding guides for native elements
This commit is contained in:
Marcelo Bezerra 2023-03-29 11:17:03 +02:00
parent 6258ba8822
commit 33ac945f10
3 changed files with 59 additions and 13 deletions

View file

@ -430,6 +430,31 @@ button {
left: calc(50% - 197px);
}
.tab-osd .preview_bfhdcompat {
width: 636px !important; /* 12 X char width */
left: calc(50% - 335px) !important; /* width / 2 + 17 */
}
.tab-osd .hd_bfhdcompat_43_left {
border-left: 2px solid red;
position: absolute;
/*left: 77.5px; // Calculated correct position */
left: 30px;
height: calc(100% - 27px);
}
.tab-osd .hd_bfhdcompat_43_right {
border-right: 2px solid red;
position: absolute;
/* right: 77.5px; // Calculated correct position */
right: 36px;
height: calc(100% - 27px);
}
.tab-osd .preview_bfhdcompat_side {
width: calc(50% - 335px) !important;
}
.tab-osd .preview_avatar {
width: 636px !important; /* 12 X char width */
left: calc(50% - 335px) !important; /* width / 2 + 17 */