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"
msgstr "Abmelden"
#: app/templates/userpanel.html:22
msgid "Account"
msgstr "Account"
#: app/templates/userpanel.html:30
msgid "Transfer"
msgstr "Geld senden"

View file

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

View file

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