From 6cfe2dab5bc83ca241d6c0374a163bafe9e3eabe Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Fri, 6 May 2022 09:43:54 +0200 Subject: [PATCH] Notebookbar: fix sidebar icon alignment Subcontainer `root-container notebookbar` was not able to vertical align contents even thought it has vertical-align: middle - Fix it by removing parents' (notebookbar-options-section) height and padding The alignment is still off due to: sub cell is inheriting automatic padding (useful in all other places) - Fix it by remove padding for the cell under .notebookbar-options-section Display inline seems not be needed here, we can just inherit it. Signed-off-by: Pedro Pinto Silva Change-Id: Iafb4f83acfff5ae0923afb972cefe1201080c79e --- browser/css/notebookbar.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/browser/css/notebookbar.css b/browser/css/notebookbar.css index fea985989..7563a44d5 100644 --- a/browser/css/notebookbar.css +++ b/browser/css/notebookbar.css @@ -147,10 +147,8 @@ } /* options section */ -.notebookbar-options-section { - display: inline; - height: 32px; - padding: 2px; +.notebookbar-options-section .cell.notebookbar { + padding: 0; } /* root container */