web/DonateOptionsCard: shorten processor note & remove mobile text

This commit is contained in:
wukko 2024-09-27 21:50:39 +06:00
parent 6e3755ae3a
commit 80d01a7d29
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 2 additions and 22 deletions

View file

@ -9,7 +9,7 @@
"card.recurring": "recurring donation",
"card.custom": "custom amount (from $2)",
"card.processor": "processed by {{value}}",
"card.processor": "via {{value}}",
"card.option.5": "cup of coffee",
"card.option.10": "full size pizza",

View file

@ -220,10 +220,6 @@
<IconArrowRight />
</button>
</div>
<div class="donate-card-subtitle processor-mobile">
{$t("donate.card.processor", { value: processor })}
</div>
</DonateCardContainer>
<style>
@ -358,11 +354,6 @@
margin: 0;
}
.processor-mobile {
display: none;
text-align: center;
}
#donation-options-container {
display: flex;
flex-direction: column;
@ -438,6 +429,7 @@
@media screen and (max-width: 550px) {
:global(#donation-box) {
--donate-card-main-padding: 14px;
min-width: unset;
}
@ -453,17 +445,5 @@
width: 26px;
height: 26px;
}
.donation-type .donate-card-subtitle {
display: none;
}
.processor-mobile {
display: block;
}
}
#donation-options > :global(a) {
text-decoration: none;
}
</style>