fix: Fixed invalid 'create new' uses, b=no-bug, c=common, tabs

This commit is contained in:
mr. m
2025-09-19 00:46:51 +02:00
parent 590deef695
commit 56eb600d1f
2 changed files with 5 additions and 2 deletions

View File

@@ -107,9 +107,12 @@ var gZenUIManager = {
_initCreateNewPopup() {
const popup = document.getElementById('zenCreateNewPopup');
const button = document.getElementById('zen-create-new-button');
popup.addEventListener('popupshowing', () => {
const button = document.getElementById('zen-create-new-button');
if (!button) {
return;
}
const image = button.querySelector('image');
button.setAttribute('open', 'true');
gZenUIManager.motion.animate(

View File

@@ -238,7 +238,7 @@
--focus-outline-color: transparent;
@media (-moz-platform: macos) {
font-size: 1.3rem; /* Slightly larger font on macOS */
font-size: 1.25rem; /* Slightly larger font on macOS */
}
--tab-inner-inline-margin: 0;