From f3586c580a4b547e4700349f511e4fd5acd5dd0b Mon Sep 17 00:00:00 2001 From: hankhill19580 Date: Tue, 6 Aug 2019 21:11:54 +0000 Subject: [PATCH] make textareas into a class instead and do the things in CSS that I can. --- i2p2www/pages/site/get-involved/donate.html | 10 +++++----- i2p2www/static/styles/duck/default.css | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/i2p2www/pages/site/get-involved/donate.html b/i2p2www/pages/site/get-involved/donate.html index bd717297..01565fe4 100644 --- a/i2p2www/pages/site/get-involved/donate.html +++ b/i2p2www/pages/site/get-involved/donate.html @@ -28,15 +28,15 @@ the "Donate" edition. I2P funding is handled by meeh.{% endtrans %}
that any other addresses not listed here are no longer valid. Please note that addresses may update and more coins may be added.{% endtrans %}

-{% trans %}BTC Address{% endtrans %}:
+{% trans %}BTC Address{% endtrans %}:

-{% trans %}LTC Address{% endtrans %}:
+{% trans %}LTC Address{% endtrans %}:

-{% trans %}ETH Address{% endtrans %}:
+{% trans %}ETH Address{% endtrans %}:

-{% trans %}ANC Address{% endtrans %}:
+{% trans %}ANC Address{% endtrans %}:

-{% trans %}XMR Address{% endtrans %}:
+{% trans %}XMR Address{% endtrans %}:

{% trans %}We now also accept paypal donations!{% endtrans %}

diff --git a/i2p2www/static/styles/duck/default.css b/i2p2www/static/styles/duck/default.css index eab34cea..862cb7d9 100644 --- a/i2p2www/static/styles/duck/default.css +++ b/i2p2www/static/styles/duck/default.css @@ -769,13 +769,14 @@ div#content td { text-overflow: ellipsis; } -div#content textarea { +div#content .coinaddr { margin-top: .1rem; font-size: 1rem; font-style: bold; white-space: nowrap; + width: 80%; + height: 1.12rem; + overflow-x: hidden; float: right; - /*we could make this resize-horizontal so that it could display the whole - XMR address by resizing, but still look nice on the official page.*/ - resize: none; + resize: horizontal; }