Changed the appearance of the dropdown button in the userpanel

This commit is contained in:
Julian Müller (ChaoticByte) 2023-04-15 11:20:02 +02:00
parent ac59aa0baa
commit 880f7f6cc8
4 changed files with 1 additions and 10 deletions

Binary file not shown.

View file

@ -248,10 +248,6 @@ msgstr "Saldo"
msgid "Logout" msgid "Logout"
msgstr "Abmelden" msgstr "Abmelden"
#: app/templates/userpanel.html:22
msgid "Account"
msgstr "Account"
#: app/templates/userpanel.html:30 #: app/templates/userpanel.html:30
msgid "Transfer" msgid "Transfer"
msgstr "Geld senden" msgstr "Geld senden"

View file

@ -320,10 +320,7 @@ main {
} }
.dropdownbutton { .dropdownbutton {
width: fit-content;
z-index: 190; z-index: 190;
text-align: center;
justify-content: center;
} }
.dropdownlist { .dropdownlist {

View file

@ -18,9 +18,7 @@
<a class="button" href="/deposit">{% translate "Deposit" %}</a> <a class="button" href="/deposit">{% translate "Deposit" %}</a>
<a class="button" href="/accounts/logout">{% translate "Logout" %}</a> <a class="button" href="/accounts/logout">{% translate "Logout" %}</a>
<div class="dropdownmenu" id="dropdownmenu"> <div class="dropdownmenu" id="dropdownmenu">
<button class="dropdownbutton" id="dropdownmenu-button"> <button class="dropdownbutton" id="dropdownmenu-button">&#x2630;</button>
<div>{% translate "Account" %}</div>
</button>
<div class="dropdownlist"> <div class="dropdownlist">
<a class="button dropdownchoice" href="/history">{% translate "History" %}</a> <a class="button dropdownchoice" href="/history">{% translate "History" %}</a>
<a class="button dropdownchoice" href="/statistics">{% translate "Statistics" %}</a> <a class="button dropdownchoice" href="/statistics">{% translate "Statistics" %}</a>