From 5d5b736d9812db6413487e4ba0ec6a4ee3fb9770 Mon Sep 17 00:00:00 2001 From: "jan.badura" Date: Fri, 3 Oct 2025 12:38:55 +0200 Subject: [PATCH] fix: move chip to BaseTheme --- src/themes/AssistantTheme.tsx | 11 +---------- src/themes/BaseTheme.tsx | 11 +++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/themes/AssistantTheme.tsx b/src/themes/AssistantTheme.tsx index 6e93137a8a..559bdcbcb3 100644 --- a/src/themes/AssistantTheme.tsx +++ b/src/themes/AssistantTheme.tsx @@ -503,16 +503,7 @@ export const AssistantTheme = (theme: Theme) => { } } - .source-link-chip { - display: inline-block; - background-color: #ddd !important; - color: #424242 !important; - border-radius: 5px !important; - padding: 4px 5px !important; - margin: 2px; - border: 0 !important; - text-decoration: none !important; -} + .swal2-title { text-align: left; diff --git a/src/themes/BaseTheme.tsx b/src/themes/BaseTheme.tsx index 6527838534..1e89ee8ec7 100644 --- a/src/themes/BaseTheme.tsx +++ b/src/themes/BaseTheme.tsx @@ -441,6 +441,17 @@ export const BaseTheme = (theme: Theme) => { padding: 12px 6px 12px 6px !important; } + .source-link-chip { + display: inline-block; + background-color: #ddd !important; + color: #424242 !important; + border-radius: 5px !important; + padding: 4px 5px !important; + margin: 2px; + border: 0 !important; + text-decoration: none !important; + } + ${theme.enableScreenshotUpload && !isSafari() ? ` .wc-upload-screenshot { display: inline-block !important;