From 0eb8b41f33ca7102eb83fc2f34478d5569053c42 Mon Sep 17 00:00:00 2001 From: mic Date: Tue, 14 Apr 2026 23:02:42 +0200 Subject: [PATCH] css fixes --- js/mzta-compose-script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/mzta-compose-script.js b/js/mzta-compose-script.js index 017ea24e..f16a7063 100644 --- a/js/mzta-compose-script.js +++ b/js/mzta-compose-script.js @@ -83,7 +83,7 @@ function _ensureContainer() { const toolbar = document.createElement('div'); toolbar.id = 'mzta-toolbar'; - toolbar.style.cssText = `display: none; align-items: flex-start; gap: 8px; padding: 6px 0.5rem; background-color: ${colors.toolbar.bg}; border-bottom: 1px solid ${colors.toolbar.border}; font-size: 13px; color: ${colors.toolbar.text};`; + toolbar.style.cssText = `display: none; align-items: flex-start; gap: 8px; padding: 4px 0.2rem;; background-color: ${colors.toolbar.bg}; border-bottom: 1px solid ${colors.toolbar.border}; font-size: 13px; color: ${colors.toolbar.text};`; container.appendChild(toolbar); const panels = document.createElement('div'); @@ -911,7 +911,7 @@ switch (message.command) { // Outer wrapper: flex-direction column, but initially only topRow is visible (no height from brandingRow) const badge = document.createElement('div'); badge.title = browser.i18n.getMessage("spam_badge_tooltip"); - badge.style.cssText = `background-color: ${sc.bg}; color: ${sc.text}; border: 1px solid ${sc.border}; border-radius: 4px; padding: 0px 8px; font-size: 12px; font-weight: bold; display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; flex: 1; box-sizing: border-box; align-self: stretch;`; + badge.style.cssText = `background-color: ${sc.bg}; color: ${sc.text}; border: 1px solid ${sc.border}; border-radius: 4px; padding: 4px 8px; font-size: 12px; font-weight: bold; display: inline-flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; box-sizing: border-box; align-self: stretch;`; // Top row (always visible): score + text + chevron + branding + menu const topRow = document.createElement('div');