From bd1d3af79fce41cd5c0dca39f016309a66cba9cd Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 31 Jul 2019 11:16:58 +0300 Subject: [PATCH] [Common] Fix window title --- apps/common/main/lib/component/Window.js | 2 +- apps/common/main/resources/less/window.less | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/component/Window.js b/apps/common/main/lib/component/Window.js index 752da533e..76432c6f2 100644 --- a/apps/common/main/lib/component/Window.js +++ b/apps/common/main/lib/component/Window.js @@ -164,7 +164,7 @@ define([ '<% if (closable!==false) %>' + '
' + '<% %>' + - '<%= title %> ' + + '
<%= title %>
' + '' + '<% } %>' + '
<%= tpl %>
' + diff --git a/apps/common/main/resources/less/window.less b/apps/common/main/resources/less/window.less index f0661610f..77f8bc5e5 100644 --- a/apps/common/main/resources/less/window.less +++ b/apps/common/main/resources/less/window.less @@ -85,6 +85,12 @@ &.resizing { cursor: inherit !important; } + + .title { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } } > .body {