mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-18 13:54:46 +08:00
fix: make purchase iframe fully fill container
This commit is contained in:
@@ -1 +1 @@
|
|||||||
0.1.87.5
|
0.1.87.6
|
||||||
@@ -179,9 +179,9 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.purchase-embed-shell {
|
.purchase-embed-shell {
|
||||||
@apply relative;
|
@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 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 {
|
.purchase-open-fab {
|
||||||
@@ -191,20 +191,12 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.purchase-embed-frame {
|
.purchase-embed-frame {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto;
|
margin: 0;
|
||||||
width: min(100%, 440px);
|
width: 100%;
|
||||||
height: 840px;
|
height: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 16px;
|
border-radius: 0;
|
||||||
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
|
box-shadow: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
|
||||||
.purchase-embed-frame {
|
|
||||||
width: 100%;
|
|
||||||
height: 780px;
|
|
||||||
border-radius: 12px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user