Skip to content

Commit d529ab1

Browse files
Notebookbar: main-nav: Fix last child being glued to the edge
Before this commit the .main-nav's width had bigger width than the webview due to borders not being factored in. This was particular visible for integrators that have the close button toggled off and that have no "EnableShare" where the last sidebar icon was "glued" the right edge of the web view. Cases where this is possible to test: - Using the make run Edit mode urls in Tabbed view - Places where Collabora Online is integrated with close and share buttons. Example: Moddle Signed-off-by: Pedro Pinto Silva <[email protected]> Change-Id: Ie189ed780080cda69d3d41e425a047c45d0e69e9
1 parent 11a376b commit d529ab1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

browser/css/menubar.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ nav.hasnotebookbar #save.saved::after {
138138
display: none;
139139
}
140140
.main-nav {
141+
box-sizing: border-box;
141142
height: var(--header-height); /* on mouseover menubar items, border emerges */
142143
width: 100%;
143144
background: var(--color-background-lighter);

0 commit comments

Comments
 (0)