Fix CSS formatting and streamline tab opening logic in ZenWelcome

This commit is contained in:
mr. M
2025-02-19 13:05:44 +01:00
parent 8e9d885708
commit 76e47e5356
2 changed files with 3 additions and 6 deletions

View File

@@ -167,7 +167,7 @@
margin-bottom: 20px;
background: var(--zen-toolbar-element-bg);
background-image: radial-gradient(light-dark(rgba(0, 0, 0, 0.05), rgba(0,0,0,.225)) 1px, transparent 0);
background-image: radial-gradient(light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.225)) 1px, transparent 0);
background-position: -19px -19px;
background-size: 10px 10px;
@@ -179,7 +179,7 @@
border-radius: 50%;
background: var(--zen-theme-picker-dot-color);
@media (-prefers-color-scheme: dark) {
box-shadow: 0 0 0 2px rgba(0,0,0,.1);
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}
cursor: pointer;
border: 2px solid #ffffff;

View File

@@ -40,10 +40,7 @@
}
function openInitialPinTab() {
const tabs = [
'https://reddit.com/r/zen_browser',
'https://x.com/zen_browser',
];
const tabs = ['https://reddit.com/r/zen_browser', 'https://x.com/zen_browser'];
for (const url of tabs) {
const tab = window.gBrowser.addTrustedTab(url, {
inBackground: true,