From d44526f3f23f164280230c89b226ed776dc8135f Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Thu, 2 Jan 2025 12:48:49 +0100 Subject: [PATCH] [IMP] runbot: fix display error in bundle toolbar - Add dropdown-toggle to the github tool button so that it doesn't appear as if a button should be following it. - Add default btn classes to category icons, the button would otherwise be displayed as just an icon. - Add a gap between the two toolbars. - Add d-empty-none in case we have no category to display to remove the useless gap. --- runbot/static/src/css/runbot.css | 4 ++++ runbot/templates/frontend.xml | 11 +++++------ runbot/templates/utils.xml | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/runbot/static/src/css/runbot.css b/runbot/static/src/css/runbot.css index 89c79f32..008838ed 100644 --- a/runbot/static/src/css/runbot.css +++ b/runbot/static/src/css/runbot.css @@ -418,3 +418,7 @@ body, .table { code { white-space: pre-wrap; } + +.d-empty-none:empty { + display: none !important; +} diff --git a/runbot/templates/frontend.xml b/runbot/templates/frontend.xml index e66d51c8..5d7486e3 100644 --- a/runbot/templates/frontend.xml +++ b/runbot/templates/frontend.xml @@ -40,9 +40,9 @@ -