Skip to content

Commit

Permalink
Fix responsive design mode toolbar corners
Browse files Browse the repository at this point in the history
Adds support for the responsive design mode toolbar with the rounded
corners tweak.
  • Loading branch information
bmFtZQ committed Apr 18, 2024
1 parent d7cce43 commit b1146cf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions chrome/global/browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,17 @@
}
}

.browserContainer.responsive-mode {
background-color: transparent !important;

& .rdm-toolbar {
margin-inline: var(--uc-tweak-rounded-corners-padding) !important;
border-top-left-radius: var(--uc-tweak-rounded-corners-radius) !important;
border-top-right-radius: var(--uc-tweak-rounded-corners-radius) !important;
width: calc(100% - var(--uc-tweak-rounded-corners-padding) * 2) !important;
}
}

/* Prevent status panel corners and shadow from appearing outside the browser. */
#statuspanel {
overflow: hidden;
Expand Down

0 comments on commit b1146cf

Please sign in to comment.