Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(remove browser padding) the repo code is not up to date with the extension? #48

Open
froggy-jpg opened this issue Dec 6, 2024 · 0 comments

Comments

@froggy-jpg
Copy link

code from the repo:

@media not (-moz-bool-pref: "zen.view.compact") {   
    #tabbrowser-tabpanels {
        & .browserSidebarContainer:not([zen-split="true"]) {
            --zen-webview-border-radius: var(--zen-border-radius) 0 0 0;
            --zen-element-separation: 0;
        }
    }

    @media (-moz-bool-pref: "zen.tabs.vertical.right-side") {
        #tabbrowser-tabpanels {
            & .browserSidebarContainer:not([zen-split="true"]) {
                --zen-webview-border-radius: 0 var(--zen-border-radius) 0 0;
            }
        }
    }
}

code from the extension:

@-moz-document url-prefix("chrome:") {
    @media not (-moz-bool-pref: "zen.view.compact") {
        #tabbrowser-tabpanels {
            padding: 0 !important;

            & .browserSidebarContainer:not([zen-split="true"]) {
                --zen-webview-border-radius: var(--zen-border-radius) 0 0 0;
                --zen-element-separation: 0;
            }
        }

        @media (-moz-bool-pref: "zen.tabs.vertical.right-side") {
            #tabbrowser-tabpanels {
                & .browserSidebarContainer:not([zen-split="true"]) {
                    --zen-webview-border-radius: 0 var(--zen-border-radius) 0 0;
                }
            }
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant