ui: update to better fit tags legend

pull/9/head
Sami Mokaddem 2017-11-21 12:09:17 +01:00
parent e3a63e863f
commit bc0d825ce9
2 changed files with 4 additions and 4 deletions

View File

@ -150,8 +150,8 @@ function legendFormatter(label, series) {
// removing unwanted "
var label = label.replace(/\\"/g, "").replace(/\"/g, "");
// limiting size
if (label.length >= 50){
labelLimited = label.substring(0, 50) + '[...]';
if (label.length >= 40){
labelLimited = label.substring(0, 40) + '[...]';
} else {
labelLimited = label;
}

View File

@ -135,7 +135,7 @@ small {
<div style="height: 10px;"></div>
<div class="col-lg-12">
<div class="col-lg-5">
<div class="col-lg-4">
<div class="panel panel-default" style="">
<div class="panel-heading bg-info" style="font-weight: bold;">
<b>Most active events</b>
@ -161,7 +161,7 @@ small {
</div><!-- /.panel-body -->
</div>
<div class="col-lg-4">
<div class="col-lg-5">
<div class="panel panel-default" style="">
<div class="panel-heading bg-info" style="font-weight: bold;">
<b>Most popular tags</b>