From 28d3dc9c8f59665f426410132d11da75b76c3145 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 2 Nov 2017 18:39:30 +0100 Subject: [PATCH] Small fix for dialog buttons --- skins/elastic/styles/widgets/jqueryui.less | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/skins/elastic/styles/widgets/jqueryui.less b/skins/elastic/styles/widgets/jqueryui.less index 906f3a1ba..123747809 100644 --- a/skins/elastic/styles/widgets/jqueryui.less +++ b/skins/elastic/styles/widgets/jqueryui.less @@ -75,6 +75,19 @@ display: block !important; } } + + .ui-dialog-buttonpane { + .ui-dialog-buttonset { + display: flex; + justify-content: flex-end; + + button { + min-width: 5rem; + overflow: hidden; + text-overflow: ellipsis; + } + } + } } .ui-dialog iframe, @@ -124,7 +137,6 @@ height: @layout-header-height !important; .ui-dialog-buttonset { - display: flex; justify-content: space-around; button { @@ -132,9 +144,6 @@ border: 0 !important; box-shadow: none; height: @layout-header-height; - min-width: 5rem; - overflow: hidden; - text-overflow: ellipsis; &:before { display: block !important;