From ff33d1503f0864daa3f09aa909eb9b529ae87f73 Mon Sep 17 00:00:00 2001 From: Alenka Date: Fri, 29 Sep 2017 23:59:10 +0200 Subject: [PATCH] Fixed problem with legend on the map (legend position rendered outside the map in some cases). --- sna/application/views/home/legend_view.php | 8 ++++---- sna/application/views/home/map_view.php | 12 +++--------- sna/assets/style.css | 2 +- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/sna/application/views/home/legend_view.php b/sna/application/views/home/legend_view.php index 5bb11cb..9c3dd24 100644 --- a/sna/application/views/home/legend_view.php +++ b/sna/application/views/home/legend_view.php @@ -26,13 +26,13 @@ if(isset($legend) and $legend) array_push($legend,$last); ?>
-
+
Legenda
- +
- + @@ -44,7 +44,7 @@ if(isset($legend) and $legend) { ?> - +
Znak Leksem
--> + - - - -
+
load->view('home/legend_view.php'); ?> -
- - - - +
diff --git a/sna/assets/style.css b/sna/assets/style.css index c5c02bf..eeba085 100644 --- a/sna/assets/style.css +++ b/sna/assets/style.css @@ -307,7 +307,7 @@ span.glyphicon { } .legend { - max-height: 350px; + max-height: 270px; overflow-y: auto; overflow-x: auto; }