mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-25 23:44:54 +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;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.labelIcon {
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.labelName {
|
.labelName {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 7px;
|
left: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.labelNameList {
|
||||||
|
max-width: 120px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
.labelTag {
|
.labelTag {
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
@ -3,9 +3,9 @@ function createLabelItem(data, id) {
|
|||||||
$("#foldersContainer").find("ul").append(
|
$("#foldersContainer").find("ul").append(
|
||||||
$("<li data-filter=\"" + data.title + "\">").append(
|
$("<li data-filter=\"" + data.title + "\">").append(
|
||||||
"<a href=\"#\"> " +
|
"<a href=\"#\"> " +
|
||||||
"<i class=\"icon-tag\"></i>" +
|
"<i class=\"icon-tag labelIcon\"></i>" +
|
||||||
"<div class='labelColor' style='background: " + data.color + "'></div>" +
|
"<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>" +
|
"<button id='deleteLabelBtn' class='close closeLabel' labelid=\""+ labelId +"\">x</button>" +
|
||||||
"</a>"
|
"</a>"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user