summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsajolida <sajolida@pimienta.org>2019-06-27 14:15:52 +0000
committersajolida <sajolida@pimienta.org>2019-06-27 14:15:52 +0000
commit88942769884320df19de0b9d95cc65467107daf9 (patch)
treeb44130e53d520e99b4a13c88844a579f4ffb1a4a
parent636202ea02082103d9710ede38cec5e23606b2be (diff)
Sanitize code
We're 'abusing' Bootstrap to be able to use col-* classes for amount buttons but we don't need it for the "Donate" button. Also, since we're inside 'row', each <div> inside it should be forced to 'display: inline-block';
-rw-r--r--wiki/src/donate.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/wiki/src/donate.css b/wiki/src/donate.css
index c364070..9f4f6da 100644
--- a/wiki/src/donate.css
+++ b/wiki/src/donate.css
@@ -61,13 +61,14 @@ span.title {
/* JavaScript version */
-#currency .col-md-12, #frequency .col-md-12 {
+#currency .col-md-12 {
margin-bottom: 1em;
padding: 0;
border: solid 3px white;
}
-#donate-paypal-button .col-md-12 {
+#donate-paypal-button {
+ width: 100%;
margin-top: 1em;
border: solid 3px white;
}
@@ -94,6 +95,11 @@ span.title {
color: black;
}
+#currency, #dollar-amounts, #euro-amounts, #frequency,
+#donate-paypal-button, .tax-deducible {
+ display: inline-block;
+}
+
#require-paypal, .tax-deducible {
padding: 0 4px;
}