Fixed problem with legend on the map (legend position rendered outside the map in some cases).

This commit is contained in:
Alenka
2017-09-29 23:59:10 +02:00
parent 460825b7c6
commit ff33d1503f
3 changed files with 8 additions and 14 deletions

View File

@@ -26,13 +26,13 @@ if(isset($legend) and $legend)
array_push($legend,$last);
?>
<div class="info-panel-image-borders legend">
<div class="legend_title text-left" style="font-size:14pt">
<div class="legend_title text-left" style="font-size:10px">
<strong><span>Legenda</span></strong>
</div>
<table class="table">
<table class="table" style="font-size:10px">
<thead>
<tr>
<th class="text-center"><input type="checkbox" class="toggle_all" checked="1"/></th>
<th class="text-center"><input style="width:10px;height:10px;" type="checkbox" class="toggle_all" checked="1"/></th>
<th class="text-center">Znak</th>
<th class="text-center">Leksem</th>
</tr>
@@ -44,7 +44,7 @@ if(isset($legend) and $legend)
{
?>
<tr>
<td class="text-center"><input type="checkbox" checked="1" id="icons-<?=$row['code_title']?>" class="toggle_icons"/></td>
<td class="text-center"><input style="width:10px;height:10px;" type="checkbox" checked="1" id="icons-<?=$row['code_title']?>" class="toggle_icons"/></td>
<td class="text-center SIMBola" style="color:<?=$row['icon_color']?>;"><?=$row['icon']?></td>
<td class="text-center">
<?