From d5a33aae9cee9f3ca01508249031dae5f69ceb11 Mon Sep 17 00:00:00 2001 From: Banobe Pascal Date: Mon, 27 Jan 2025 15:13:00 +0300 Subject: [PATCH] Align jsdialog bottons not to take up more space Hide elements that are not part of the jsdialog Signed-off-by: Banobe Pascal Change-Id: I823594b14ea15bf2fbee32a5302c64f9dd268564 --- browser/css/jsdialogs.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/browser/css/jsdialogs.css b/browser/css/jsdialogs.css index d611ecb1c0cb9..63339e677cbec 100644 --- a/browser/css/jsdialogs.css +++ b/browser/css/jsdialogs.css @@ -748,6 +748,15 @@ input[type='checkbox']:checked.autofilter, .jsdialog input[type='checkbox']:chec } /* checkbox */ +#box1 #buttonbox1.jsdialog { + display: flex !important; +} + +#box1 .d-flex.justify-content-center:has(.ui-pushbutton.hidden), +#box1 .d-flex.justify-content-center:has(.ui-pushbutton[disabled]) { + display: none; +} + .jsdialog.checkbutton { white-space: nowrap; display: flex;