fix: add dark theme support for "open in new tab" button

The backdrop-blur background was hardcoded to white, making the button
invisible/mismatched in dark theme. Added dark:bg-dark-800/80 variant.
This commit is contained in:
erio
2026-03-04 21:31:15 +08:00
parent 7895dd65b2
commit 91ebf95efa
2 changed files with 2 additions and 2 deletions

View File

@@ -160,7 +160,7 @@ onUnmounted(() => {
.custom-open-fab {
@apply absolute right-3 top-3 z-10;
@apply shadow-sm backdrop-blur supports-[backdrop-filter]:bg-white/80;
@apply shadow-sm backdrop-blur supports-[backdrop-filter]:bg-white/80 dark:supports-[backdrop-filter]:bg-dark-800/80;
}
.custom-embed-frame {

View File

@@ -143,7 +143,7 @@ onUnmounted(() => {
.purchase-open-fab {
@apply absolute right-3 top-3 z-10;
@apply shadow-sm backdrop-blur supports-[backdrop-filter]:bg-white/80;
@apply shadow-sm backdrop-blur supports-[backdrop-filter]:bg-white/80 dark:supports-[backdrop-filter]:bg-dark-800/80;
}
.purchase-embed-frame {