From 2d00b3c25b1600bf2db873d104664482166cd708 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 21 Jun 2020 18:11:51 +0300 Subject: [PATCH] v1.4.27 --- index.css | 14 +++++- index.html | 70 ++++++++++++++------------- main.js | 3 +- modules/ui/elevation-profile.js | 84 +++++++++++++++------------------ modules/ui/options.js | 2 +- modules/ui/states-editor.js | 20 ++++++++ 6 files changed, 111 insertions(+), 82 deletions(-) diff --git a/index.css b/index.css index 0ee3007d..57d0df7f 100644 --- a/index.css +++ b/index.css @@ -1217,6 +1217,16 @@ div.slider .ui-slider-handle { overflow-y: auto; } +.overflow { + max-width: 93vw; + overflow: auto; + max-height: 75vh; +} + +.overflow > div { + width: max-content; +} + div.header > div { font-weight: bold; font-size: .9em; @@ -1855,7 +1865,9 @@ div#notesHeader { } div#notesBody { - padding: 0 10px; + padding: 0 1em; + max-height: 80vh; + overflow: auto; } svg.button { diff --git a/index.html b/index.html index e1130dc5..0e129416 100644 --- a/index.html +++ b/index.html @@ -2450,7 +2450,7 @@ -
+
@@ -2465,7 +2465,7 @@