commit 06c87d2b1021feebf358f7cb2ad87afd7d6a924f
parent 0de2b1bd92af80f34cb5f5c518360e342fc64404
Author: Sergey Orlov <wladimirych@gmail.com>
Date: Tue, 28 Jul 2020 10:35:47 +0200
screen size adaptive margins: specify window size in pixels instead of mm
to make sizes consistent with ones specified in js code
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/adaptive.css b/src/adaptive.css
@@ -1,4 +1,5 @@
-@media (max-width: 200mm) {
+/*200 mm*/
+@media (max-width: 756px) {
.leaflet-right .leaflet-control:not(.leaflet-control-horizontal-stack) {
margin-right: 0;
border-top-right-radius: 0;
@@ -12,7 +13,8 @@
}
}
-@media (max-height: 150mm) {
+/*150 mm*/
+@media (max-height: 567px) {
.leaflet-bottom .leaflet-control:last-child {
margin-bottom: 0;
border-bottom-left-radius: 0;