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 <pedro.silva@collabora.com> Change-Id: Iafb4f83acfff5ae0923afb972cefe1201080c79e
This commit is contained in:
parent
bca1206e29
commit
6cfe2dab5b
1 changed files with 2 additions and 4 deletions
|
@ -147,10 +147,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* options section */
|
/* options section */
|
||||||
.notebookbar-options-section {
|
.notebookbar-options-section .cell.notebookbar {
|
||||||
display: inline;
|
padding: 0;
|
||||||
height: 32px;
|
|
||||||
padding: 2px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* root container */
|
/* root container */
|
||||||
|
|
Loading…
Reference in a new issue