ATLAS-3072:UI : Increasing the width of the Lineage slider.

Signed-off-by: nixonrodrigues <nixon@apache.org>
This commit is contained in:
gutkaBinit 2019-03-12 16:42:35 +05:30 committed by nixonrodrigues
parent fc2a926cc7
commit 4493653e07
2 changed files with 8 additions and 6 deletions

View File

@ -415,8 +415,10 @@ span#zoom_in {
.lineage-node-detail { .lineage-node-detail {
.table-quickMenu { .table-quickMenu {
td { td:nth-child(1n) {
word-break: break-all; width: 150px;
} }
word-break: break-all;
} }
} }

View File

@ -214,7 +214,7 @@ define(['require',
generateCategoryData: function(options) { generateCategoryData: function(options) {
return _.map(options.data, function(obj) { return _.map(options.data, function(obj) {
return { return {
"text": obj.displayText, "text": _.escape(obj.displayText),
"icon": "fa fa-files-o", "icon": "fa fa-files-o",
"guid": obj.categoryGuid, "guid": obj.categoryGuid,
"id": obj.categoryGuid, "id": obj.categoryGuid,
@ -295,7 +295,7 @@ define(['require',
return this.glossaryCollection.fullCollection.map(function(model, i) { return this.glossaryCollection.fullCollection.map(function(model, i) {
var obj = model.toJSON(), var obj = model.toJSON(),
parent = { parent = {
"text": obj.name, "text": _.escape(obj.name),
"icon": "fa fa-folder-o", "icon": "fa fa-folder-o",
"guid": obj.guid, "guid": obj.guid,
"id": obj.guid, "id": obj.guid,
@ -318,7 +318,7 @@ define(['require',
var typeName = category.typeName || "GlossaryCategory", var typeName = category.typeName || "GlossaryCategory",
guid = category.categoryGuid, guid = category.categoryGuid,
categoryObj = { categoryObj = {
"text": category.displayText, "text": _.escape(category.displayText),
"type": typeName, "type": typeName,
"gType": "category", "gType": "category",
"guid": guid, "guid": guid,
@ -352,7 +352,7 @@ define(['require',
var typeName = term.typeName || "GlossaryTerm", var typeName = term.typeName || "GlossaryTerm",
guid = term.termGuid, guid = term.termGuid,
termObj = { termObj = {
"text": term.displayText, "text": _.escape(term.displayText),
"type": typeName, "type": typeName,
"gType": "term", "gType": "term",
"guid": guid, "guid": guid,