upd ff styling

This commit is contained in:
Kukks
2023-10-26 10:08:39 +02:00
parent 39c145451e
commit 04c4fa0cf7
2 changed files with 6 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
<PropertyGroup> <PropertyGroup>
<Product>FixedFloat</Product> <Product>FixedFloat</Product>
<Description>Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.</Description> <Description>Allows you to embed a FixedFloat conversion screen to allow customers to pay with altcoins.</Description>
<Version>1.1.4</Version> <Version>1.1.5</Version>
</PropertyGroup> </PropertyGroup>
<!-- Plugin development properties --> <!-- Plugin development properties -->
<PropertyGroup> <PropertyGroup>

View File

@@ -9,7 +9,11 @@
@if (settings?.Enabled is true) @if (settings?.Enabled is true)
{ {
<template id="fixed-float-checkout-template"> <template id="fixed-float-checkout-template">
<iframe v-if="shown" :src="url" style="min-height:600px;width:100%;border:none" allowtransparency="true" ref="iframe"></iframe> <iframe v-if="shown" :src="url" style="
min-height:600px;
border:none;
width: calc(var(--wrap-max-width) - var(--btcpay-space-m) - var(--btcpay-space-m));
margin-left: calc(var(--section-padding) * -1);" allowtransparency="true" ref="iframe"></iframe>
</template> </template>
<script> <script>
const markupPercentage = @settings.AmountMarkupPercentage; const markupPercentage = @settings.AmountMarkupPercentage;