fix inaccurate warning positioning

This commit is contained in:
Matthias Wirth
2022-06-15 10:48:27 +02:00
parent 134705eb0f
commit 22642ad39d
2 changed files with 18 additions and 10 deletions

View File

@@ -25,16 +25,6 @@
<progress id="loader_progress"></progress>
</div>
<div id="inaccurate_warning" class='identSmall hidden' >
<br>
This map includes inaccurate / very approximate positions, errors of 200 nmi or more are not unusual.
<br>
If no ADS-B / MLAT info is available but at least 1 receiver is receiving ModeS data from a hex, the aircraft is placed where the receiving station on average receives planes which do have a location.
<br>
Please add a disclaimer to any screenshots of this website or better yet just report that an aircraft was spotted in the approximate area WITHOUT using screenshots.
<br>
<br>
</div>
<div id="layout_container">
<div id="highlighted_infoblock">
@@ -1031,6 +1021,17 @@
<span id="generic_error_detail"></span><br>
</div>
<div id="inaccurate_warning" class='identSmall hidden inaccurate_warning' >
<br>
This map includes inaccurate / very approximate positions, errors of 200 nmi or more are not unusual.
<br>
If no ADS-B / MLAT info is available but at least 1 receiver is receiving ModeS data from a hex, the aircraft is placed where the receiving station on average receives planes which do have a location.
<br>
Please add a disclaimer to any screenshots of this website or better yet just report that an aircraft was spotted in the approximate area WITHOUT using screenshots.
<br>
<br>
</div>
<div id="js_error" class="hidden">
</div>

View File

@@ -251,6 +251,13 @@ select {
text-align: center;
}
.inaccurate_warning {
position: absolute; top: calc( 25px * var(--SCALE)); left: calc( 280px * var(--SCALE));
width: 50%;
background-color: var(--BGCOLOR1);
padding: calc( 5px * var(--SCALE));
}
#js_error {
position: absolute;
bottom: 5px;