Removed HTML tablefrom title and definition
This commit is contained in:
1 parent
ba1928d751
commit
503c72e49b
2 files changed
+16
-14
No files matched your search
@@ -54,19 +54,23 @@ padding: 5px;
|
||||
.docs-definition-table {
|
||||
background-color: #f9f9f9;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
min-width: 95px;
|
||||
margin: auto;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 20px;
|
||||
margin-top: 0px;
|
||||
margin-right: 20px;
|
||||
border: 1px solid #dedede;
|
||||
padding: 10px;
|
||||
display: table;
|
||||
width: 97%;
|
||||
}
|
||||
|
||||
.docs-definition-table div {
|
||||
display: table-cell;
|
||||
padding: 5px 10px;
|
||||
vertical-align: middle;
|
||||
|
||||
}
|
||||
|
||||
.docs-image-container {
|
||||
|
||||
padding: 5px 0px 5px 5px;
|
||||
border: solid 0px;
|
||||
display: table-cell;
|
||||
|
||||
@@ -1972,8 +1972,8 @@ function newSuperalgosDocSpace() {
|
||||
if (category === 'Topic' || category === 'Concept') {
|
||||
HTML = HTML + '<div id="definition-summary-editable-paragraph" class="docs-summary"><b>Summary:</b> ' + addToolTips(definitionText) + '</div>'
|
||||
} else {
|
||||
HTML = HTML + '<table class="docs-definition-table">'
|
||||
HTML = HTML + '<tr>'
|
||||
HTML = HTML + '<div class="docs-definition-table">'
|
||||
|
||||
if (category === 'Node') {
|
||||
|
||||
let imageItem = {
|
||||
@@ -1984,15 +1984,13 @@ function newSuperalgosDocSpace() {
|
||||
}
|
||||
definitionImagesArray.push(imageItem)
|
||||
|
||||
HTML = HTML + '<td width=150px>'
|
||||
HTML = HTML + '<div id="' + imageItem.div + '" class="docs-image-container"/>'
|
||||
HTML = HTML + '</td>'
|
||||
HTML = HTML + '<div id="' + imageItem.div + '" class="docs-image-container"></div>'
|
||||
|
||||
}
|
||||
HTML = HTML + '<td>'
|
||||
|
||||
HTML = HTML + '<div id="' + idPrefix + 'paragraph" class="docs-font-normal"><strong>' + addToolTips(definitionText) + '</strong></div>'
|
||||
HTML = HTML + '</td>'
|
||||
HTML = HTML + '</tr>'
|
||||
HTML = HTML + '</table>'
|
||||
|
||||
HTML = HTML + '</div>'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user