diff --git a/Client/WebServer/css/docs.css b/Client/WebServer/css/docs.css index f35936804..82471cfd4 100644 --- a/Client/WebServer/css/docs.css +++ b/Client/WebServer/css/docs.css @@ -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; diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index be33837d1..ea57e20d7 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -1972,8 +1972,8 @@ function newSuperalgosDocSpace() { if (category === 'Topic' || category === 'Concept') { HTML = HTML + '
Summary: ' + addToolTips(definitionText) + '
' } else { - HTML = HTML + '' - HTML = HTML + '' + HTML = HTML + '
' + if (category === 'Node') { let imageItem = { @@ -1984,15 +1984,13 @@ function newSuperalgosDocSpace() { } definitionImagesArray.push(imageItem) - HTML = HTML + '
' + HTML = HTML + '
' + } - HTML = HTML + '' - HTML = HTML + '' - HTML = HTML + '
' - HTML = HTML + '
' - HTML = HTML + '
' + HTML = HTML + '
' + addToolTips(definitionText) + '
' - HTML = HTML + '
' + + HTML = HTML + '' } } }