mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-28 17:28:27 +00:00
web/DonateOptionsCard: shorten processor note & remove mobile text
This commit is contained in:
parent
6e3755ae3a
commit
80d01a7d29
|
@ -9,7 +9,7 @@
|
||||||
"card.recurring": "recurring donation",
|
"card.recurring": "recurring donation",
|
||||||
"card.custom": "custom amount (from $2)",
|
"card.custom": "custom amount (from $2)",
|
||||||
|
|
||||||
"card.processor": "processed by {{value}}",
|
"card.processor": "via {{value}}",
|
||||||
|
|
||||||
"card.option.5": "cup of coffee",
|
"card.option.5": "cup of coffee",
|
||||||
"card.option.10": "full size pizza",
|
"card.option.10": "full size pizza",
|
||||||
|
|
|
@ -220,10 +220,6 @@
|
||||||
<IconArrowRight />
|
<IconArrowRight />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="donate-card-subtitle processor-mobile">
|
|
||||||
{$t("donate.card.processor", { value: processor })}
|
|
||||||
</div>
|
|
||||||
</DonateCardContainer>
|
</DonateCardContainer>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -358,11 +354,6 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.processor-mobile {
|
|
||||||
display: none;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#donation-options-container {
|
#donation-options-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -438,6 +429,7 @@
|
||||||
|
|
||||||
@media screen and (max-width: 550px) {
|
@media screen and (max-width: 550px) {
|
||||||
:global(#donation-box) {
|
:global(#donation-box) {
|
||||||
|
--donate-card-main-padding: 14px;
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -453,17 +445,5 @@
|
||||||
width: 26px;
|
width: 26px;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.donation-type .donate-card-subtitle {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.processor-mobile {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#donation-options > :global(a) {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue