Modified account page to be mobile friendly

This commit is contained in:
2025-02-15 14:32:15 +11:00
parent 89e3df6862
commit 6bee6edd16
5 changed files with 46 additions and 16 deletions

View File

@@ -4,9 +4,11 @@ templ AccountContainer(subpage string) {
<div
id="account-container"
class="flex max-w-200 min-h-100 mx-auto bg-mantle mt-10 rounded-xl"
x-data="{big:window.innerWidth >=768, open:false}"
@resize.window="big = window.innerWidth >= 768"
>
@SelectMenu(subpage)
<div class="mt-5 w-full">
<div class="mt-5 w-full md:ml-[200px] ml-[40px] transition-all duration-300">
<div
class="pl-5 text-2xl text-subtext1 border-b
border-overlay0 w-[90%] mx-auto"