Fixed problem with legend on the map (legend position rendered outside the map in some cases).
This commit is contained in:
parent
460825b7c6
commit
ff33d1503f
|
@ -26,13 +26,13 @@ if(isset($legend) and $legend)
|
||||||
array_push($legend,$last);
|
array_push($legend,$last);
|
||||||
?>
|
?>
|
||||||
<div class="info-panel-image-borders legend">
|
<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>
|
<strong><span>Legenda</span></strong>
|
||||||
</div>
|
</div>
|
||||||
<table class="table">
|
<table class="table" style="font-size:10px">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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">Znak</th>
|
||||||
<th class="text-center">Leksem</th>
|
<th class="text-center">Leksem</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -44,7 +44,7 @@ if(isset($legend) and $legend)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<tr>
|
<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 SIMBola" style="color:<?=$row['icon_color']?>;"><?=$row['icon']?></td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<?
|
<?
|
||||||
|
|
|
@ -11323,16 +11323,10 @@ Slovenski narečni atlas / Slovenian dialectal atlas
|
||||||
<use xlink:href="#pins1" x=381 y=370></use>
|
<use xlink:href="#pins1" x=381 y=370></use>
|
||||||
-->
|
-->
|
||||||
</g>
|
</g>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
<div id="legend" style="width: 180px; height: 240px; position: absolute; top: 260px; right: 0px;">
|
||||||
<foreignObject x="840" y="350" width="240" max-height="320" height="320">
|
|
||||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<div id="legend">
|
|
||||||
<?
|
<?
|
||||||
$this->load->view('home/legend_view.php');
|
$this->load->view('home/legend_view.php');
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
|
||||||
</foreignObject>
|
|
||||||
|
|
||||||
</svg>
|
|
||||||
|
|
|
@ -307,7 +307,7 @@ span.glyphicon {
|
||||||
}
|
}
|
||||||
|
|
||||||
.legend {
|
.legend {
|
||||||
max-height: 350px;
|
max-height: 270px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user