Skip to content

Commit

Permalink
Notebookbar: main-nav: Fix last child being glued to the edge
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pedropintosilva committed Jan 15, 2025
1 parent a72bfd0 commit 59527c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/css/menubar.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ nav.hasnotebookbar #save.saved::after {
display: none;
}
.main-nav {
box-sizing: border-box;
height: var(--header-height); /* on mouseover menubar items, border emerges */
width: 100%;
background: var(--color-background-lighter);
Expand Down

0 comments on commit 59527c7

Please sign in to comment.