From 0738804d88629bd86fd019c9102c0352d9cddfec Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sat, 1 Feb 2014 18:54:37 -0300 Subject: [PATCH] fix mindmapList filter problem on long labels names --- wise-webapp/src/main/webapp/css/mindmapList.less | 11 +++++++++-- wise-webapp/src/main/webapp/js/labelActions.js | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/wise-webapp/src/main/webapp/css/mindmapList.less b/wise-webapp/src/main/webapp/css/mindmapList.less index da99536b..1f3b6712 100644 --- a/wise-webapp/src/main/webapp/css/mindmapList.less +++ b/wise-webapp/src/main/webapp/css/mindmapList.less @@ -115,15 +115,22 @@ input#selectAll { -moz-border-radius: 3px; border-radius: 3px; background-color: black; - + float: left; +} +.labelIcon { + float: left; } - .labelName { display: inline-block; position: relative; left: 7px; } +.labelNameList { + max-width: 120px; + word-wrap: break-word; +} + .labelTag { border: 1px solid; border-radius: 4px; diff --git a/wise-webapp/src/main/webapp/js/labelActions.js b/wise-webapp/src/main/webapp/js/labelActions.js index 1188a024..191add98 100644 --- a/wise-webapp/src/main/webapp/js/labelActions.js +++ b/wise-webapp/src/main/webapp/js/labelActions.js @@ -3,9 +3,9 @@ function createLabelItem(data, id) { $("#foldersContainer").find("ul").append( $("
  • ").append( " " + - "" + + "" + "
    " + - "
    " + data.title + "
    " + + "
    " + data.title + "
    " + "" + "
    " )