mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-23 11:16:20 +01:00
web/DonateOptionsCard: shorten processor note & remove mobile text
This commit is contained in:
parent
6e3755ae3a
commit
80d01a7d29
2 changed files with 2 additions and 22 deletions
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue