File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
src/browser/base/content/zen-styles Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 66: root: not ([inDOMFullscreen = 'true' ]): not ([chromehidden ~= 'location' ]): not ([chromehidden ~= 'toolbar' ]) {
77 & # tabbrowser-tabbox # tabbrowser-tabpanels .browserSidebarContainer {
88 width : -moz-available;
9- border-radius : var (--zen-webview-border-radius , var (--zen-border-radius ));
9+ --zen-native-content-radius : env (-moz-gtk-csd-titlebar-radius, var (--zen-border-radius ));
10+ border-radius : var (
11+ --zen-webview-border-radius ,
12+ /* Inner radius calculation:
13+ * 1. If the native radius - the separation is less than 4px, use 4px.
14+ * 2. Otherwise, use the the calculated value (inner radius = outer radius - separation).
15+ */
16+ max (
17+ 4px ,
18+ calc (var (--zen-native-content-radius ) - var (--zen-element-separation )),
19+ )
20+ );
1021 position : relative;
1122
1223 /* For glance */
You can’t perform that action at this time.
0 commit comments