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

The backdrop-blur background on the iframe "open in new tab" floating
button was hardcoded to bg-white/80, making it look broken in dark
theme. Added dark:bg-dark-800/80 variant for both PurchaseSubscription
and CustomPage views.
This commit is contained in:
erio committed 2026-03-04 21:40:40 +08:00
1 parent adcfb44cb7
commit 064f9be7e4
2 files changed
+2 -2

No files matched your search

+1 -1
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 {
@@ -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 {