fix: make purchase iframe fully fill container

This commit is contained in:
erio
2026-02-28 18:58:19 +08:00
parent c37c68a341
commit c7392fc80b
2 changed files with 8 additions and 16 deletions

View File

@@ -1 +1 @@
0.1.87.5
0.1.87.6

View File

@@ -179,9 +179,9 @@ onUnmounted(() => {
.purchase-embed-shell {
@apply relative;
@apply h-full w-full overflow-auto rounded-2xl;
@apply h-full w-full overflow-hidden rounded-2xl;
@apply bg-gradient-to-b from-gray-50 to-white dark:from-dark-900 dark:to-dark-950;
@apply p-3 sm:p-4;
@apply p-0;
}
.purchase-open-fab {
@@ -191,20 +191,12 @@ onUnmounted(() => {
.purchase-embed-frame {
display: block;
margin: 0 auto;
width: min(100%, 440px);
height: 840px;
margin: 0;
width: 100%;
height: 100%;
border: 0;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
border-radius: 0;
box-shadow: none;
background: transparent;
}
@media (max-width: 640px) {
.purchase-embed-frame {
width: 100%;
height: 780px;
border-radius: 12px;
}
}
</style>