mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
fix mindmapList filter problem on long labels names
This commit is contained in:
parent
f248a8c099
commit
0738804d88
@ -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;
|
||||
|
@ -3,9 +3,9 @@ function createLabelItem(data, id) {
|
||||
$("#foldersContainer").find("ul").append(
|
||||
$("<li data-filter=\"" + data.title + "\">").append(
|
||||
"<a href=\"#\"> " +
|
||||
"<i class=\"icon-tag\"></i>" +
|
||||
"<i class=\"icon-tag labelIcon\"></i>" +
|
||||
"<div class='labelColor' style='background: " + data.color + "'></div>" +
|
||||
"<div class='labelName'>" + data.title + "</div>" +
|
||||
"<div class='labelName labelNameList'>" + data.title + "</div>" +
|
||||
"<button id='deleteLabelBtn' class='close closeLabel' labelid=\""+ labelId +"\">x</button>" +
|
||||
"</a>"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user