summaryrefslogtreecommitdiff
path: root/talermerchantdemos
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-05-03 23:24:33 +0200
committerMS <ms@taler.net>2021-05-03 23:24:33 +0200
commit158932b1cb7772782cb1211a2143dcb39b3dfe0b (patch)
tree0dbd9a438aa318fbe1b87d6c1be87ce12e72f550 /talermerchantdemos
parent49a1fb740aecc5bb910547b4dc5167af61ca0b8e (diff)
downloadtaler-merchant-demos-158932b1cb7772782cb1211a2143dcb39b3dfe0b.tar.gz
taler-merchant-demos-158932b1cb7772782cb1211a2143dcb39b3dfe0b.tar.bz2
taler-merchant-demos-158932b1cb7772782cb1211a2143dcb39b3dfe0b.zip
fix language buttons
Diffstat (limited to 'talermerchantdemos')
-rw-r--r--talermerchantdemos/static/demo.css6
-rw-r--r--talermerchantdemos/templates/common-base.html.j24
2 files changed, 7 insertions, 3 deletions
diff --git a/talermerchantdemos/static/demo.css b/talermerchantdemos/static/demo.css
index 214c3a2..d6fb5a0 100644
--- a/talermerchantdemos/static/demo.css
+++ b/talermerchantdemos/static/demo.css
@@ -74,12 +74,16 @@ nav {
z-index: 10000;
}
+.langbtn {
+ width: 100%;
+ text-align: left;
+}
+
nav a,
nav span,
.navbtn {
border: none;
color: white;
- text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
diff --git a/talermerchantdemos/templates/common-base.html.j2 b/talermerchantdemos/templates/common-base.html.j2
index cff7f81..fd5a371 100644
--- a/talermerchantdemos/templates/common-base.html.j2
+++ b/talermerchantdemos/templates/common-base.html.j2
@@ -59,11 +59,11 @@
<div class="right">
<span>{{ all_languages[getlang()] | default("en") }}</span>
<div style="position: relative; overflow: visible;">
- <div class="nav" style="position: absolute; background: #1e2739; max-height: 60vh; overflow-y: scroll">
+ <div class="nav" style="position: absolute; background: #0042b2; max-height: 60vh; overflow-y: scroll">
<br>
{% for lang_code, lang_display in all_languages.items() %}
{% if lang_code != getlang() %}
- <a href="/{{ lang_code }}/" class="navbtn">{{ lang_display }}</a>
+ <a href="/{{ lang_code }}/" class="navbtn langbtn">{{ lang_display }}</a>
<br>
{% endif %}
{% endfor %}