[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: fix position of logout button
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: fix position of logout button |
Date: |
Fri, 23 Apr 2021 13:44:02 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new f40d740 fix position of logout button
f40d740 is described below
commit f40d74007d097f91df265f02d17c1b44d09f7e34
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Apr 23 13:43:57 2021 +0200
fix position of logout button
---
talerbank/app/static/bank.css | 19 +++++++------------
talerbank/app/templates/profile_page.html | 2 +-
2 files changed, 8 insertions(+), 13 deletions(-)
diff --git a/talerbank/app/static/bank.css b/talerbank/app/static/bank.css
index 0813ad8..329bd1e 100644
--- a/talerbank/app/static/bank.css
+++ b/talerbank/app/static/bank.css
@@ -7,11 +7,6 @@
background: white;
}
-h1.nav {
- width: 92%;
- display: inline-block;
-}
-
div.pages-list {
margin-top: 15px;
}
@@ -24,17 +19,12 @@ a.current-page-number {
color: inherit;
}
-a.pure-button {
- position: absolute;
- right: 20px;
- top: 23px;
-}
-
.cancelled {
text-decoration: line-through;
}
-input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
+input[type="number"]::-webkit-outer-spin-button,
+input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
@@ -83,3 +73,8 @@ input[type="number"] {
margin-right: 1em;
margin-bottom: 0.5em;
}
+
+#logout-button {
+ display: block;
+ width: fit-content;
+}
diff --git a/talerbank/app/templates/profile_page.html
b/talerbank/app/templates/profile_page.html
index fe94109..3601e3a 100644
--- a/talerbank/app/templates/profile_page.html
+++ b/talerbank/app/templates/profile_page.html
@@ -25,7 +25,7 @@
{{ _("Welcome <em>{name}</em>!").format(name=name) }}
{% endautoescape %}
</h1>
- <a href="{{ url('logout') }}" class="pure-button">[{{ _("Logout")
}}]</a><br>
+ <a href="{{ url('logout') }}" class="pure-button logout-button">[{{
_("Logout") }}]</a><br>
</div>
<section id="menu">
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: fix position of logout button,
gnunet <=