Skip to content
Snippets Groups Projects
Commit 52908327 authored by juanf's avatar juanf
Browse files

SSDM-3212 : Friendlier overflow only on the x axis.

SVN: 35767
parent 9fee87e6
No related branches found
No related tags found
No related merge requests found
......@@ -324,6 +324,8 @@ h1, h2, legend {
}
.inspectorLineBreak {
word-wrap: break-word;
overflow: hidden;
overflow-x: auto;
width:300px;
}
......
......@@ -102,7 +102,7 @@ var PrintUtil = new function() {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append(propLabel + ":")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak", "style" : "overflow: auto;" }).append(extraProp.value)))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak"}).append(extraProp.value)))
);
}
}
......@@ -154,7 +154,7 @@ var PrintUtil = new function() {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append(propertyLabel + ":")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak", "style" : "overflow: auto;" }).append(propertyContent)))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak" }).append(propertyContent)))
);
}
}
......@@ -168,7 +168,7 @@ var PrintUtil = new function() {
$newInspectorTable
.append($("<tr>")
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLabel"}).append("Parents:")))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak", "style" : "overflow: auto;" }).append(allParentCodesAsText)))
.append($("<td>", { "class" : "property", "colspan" : "1" }).append($("<p>", { "class" : "inspectorLineBreak" }).append(allParentCodesAsText)))
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment