zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
13.75k stars 329 forks source link

Rounded corners broken with Zen Dream and Zen Galaxy #1508

Open kittybwained opened 1 week ago

kittybwained commented 1 week ago

Captchas

What happened?

The latest update broke the rounded corners on the Zen Dream and Zen Galaxy themes. The square webpages now render on top of the rounded corners. image

Reproducible?

Version

1.0.1-a.1

What platform are you seeing the problem on?

Windows

Relevant log output

No response

linear[bot] commented 1 week ago

ZEN-1592 Webpage renders on top of rounded corners

kittybwained commented 1 week ago

Found a workaround, add:

browser {
    border-radius: var(--zen-webview-border-radius, var(--zen-border-radius)) !important;
}

to your userChrome.css file.

kittybwained commented 1 week ago

Found a workaround, add:

browser {
  border-radius: var(--zen-webview-border-radius, var(--zen-border-radius)) !important;
}

to your userChrome.css file.

Note that this still doesn't make it identical to the other themes, it just makes it less bad. On dark webpages, the rounded corners look a bit strange and pixelated with this fix.

kittybwained commented 1 week ago

Light: image Zen Dream with fix: image Zen Dream without fix: image

Not perfect but less bad. Also, for reasons I cannot figure out, the fix doesn't work on certain websites.

kittybwained commented 1 week ago

Still happens on 1.0.1-a.2.

JLBlk commented 1 week ago

Here's another workaround i found, since my supergradient theme had the same problem:

:root:not([inDOMFullscreen='true']):not([chromehidden~='location']):not([chromehidden~='toolbar']) {
  & #tabbrowser-tabbox #tabbrowser-tabpanels .browserSidebarContainer {
    overflow: hidden;
  }
}

Just add it to your userChrome.css