From 22b9f791737d33aca1f5c1e1d43f598d5861e22d Mon Sep 17 00:00:00 2001 From: Darshan-upadhyay1110 Date: Mon, 1 Apr 2024 11:15:05 +0530 Subject: [PATCH] Fix toolbar up section after w2ui rework - remove fix height for toolbar-up - this fix height will effect the bg-color in toolbar-up section Signed-off-by: Darshan-upadhyay1110 Change-Id: I7b307a6a72968ed81fe2eb8663c430f11e3b3ced --- browser/css/notebookbar.css | 4 ++++ browser/css/toolbar.css | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/browser/css/notebookbar.css b/browser/css/notebookbar.css index de8ce3859e96a..0e64cdebd9db1 100644 --- a/browser/css/notebookbar.css +++ b/browser/css/notebookbar.css @@ -179,6 +179,10 @@ button.ui-tab.notebookbar { z-index: 11; } +#toolbar-row { + height: 74px; +} + .vertical.notebookbar { width: max-content; display: grid; diff --git a/browser/css/toolbar.css b/browser/css/toolbar.css index aaf62970e6bdf..1f312b506d016 100644 --- a/browser/css/toolbar.css +++ b/browser/css/toolbar.css @@ -1,6 +1,6 @@ #toolbar-up { z-index: 11; - height: 38px; + align-self: center; } #document-name-input-loading-bar { @@ -247,6 +247,10 @@ w2ui-toolbar { top: 3px; } +.main-nav:not(.hasnotebookbar) ~ #toolbar-wrapper .toolbar-row { + height: 42px; +} + /* center the toolbar */ #tb_presentation-toolbar_item_left { width: 50%;