mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Close sheet on logout and temp fix for showing auth forms on small screens.
This commit is contained in:
parent
df665376ef
commit
0a6c8d013b
2 changed files with 10 additions and 6 deletions
|
|
@ -58,10 +58,12 @@
|
|||
action="/logout"
|
||||
method="POST"
|
||||
>
|
||||
<Button type="submit">
|
||||
<LogOut class="mr-2 h-4 w-4"/>
|
||||
Sign out
|
||||
</Button>
|
||||
<Sheet.Close asChild let:builder>
|
||||
<Button builders={[builder]} type="submit">
|
||||
<LogOut class="mr-2 h-4 w-4"/>
|
||||
Sign out
|
||||
</Button>
|
||||
</Sheet.Close>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -53,8 +53,10 @@
|
|||
|
||||
<style lang="postcss">
|
||||
.container {
|
||||
display: none;
|
||||
position: relative;
|
||||
/* display: none;
|
||||
position: relative; */
|
||||
display: flex;
|
||||
align-content: center;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
|
|||
Loading…
Reference in a new issue