Skip to content

Commit

Permalink
Main-nav: Fix close button divider (separator) position
Browse files Browse the repository at this point in the history
With the improvements from db10c45
#10027 and its follow
ups, it is now needed to update close button divider margin so, it
goes back on being centered aligned

Also update code comments around that.

Signed-off-by: Pedro Pinto Silva <[email protected]>
Change-Id: Ie3fac7e7131c46eb165b2c2d07eef97bfdbce4ce
  • Loading branch information
pedropintosilva authored and Darshan-upadhyay1110 committed Nov 29, 2024
1 parent 653107b commit 6af2cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions browser/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,16 +330,16 @@
width: var(--btn-size);
height: var(--btn-size);
background-color: transparent;
/* same margin as sidebar buttons */
/* same margin as main-nav padding-inline-start */
margin-inline-end: 5px;
}

.main-nav.hasnotebookbar #closebuttonwrapperseparator {
background: var(--color-background-darker);
width: 1px;
height: 14px;
/* same margin as sidebar buttons */
margin-inline-end: 5px;
/* same margin as sidebar buttons' padding */
margin-inline: 4px;
}

.main-nav:not(.hasnotebookbar) ~ #closebuttonwrapper {
Expand Down

0 comments on commit 6af2cec

Please sign in to comment.