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"
|
action="/logout"
|
||||||
method="POST"
|
method="POST"
|
||||||
>
|
>
|
||||||
<Button type="submit">
|
<Sheet.Close asChild let:builder>
|
||||||
<LogOut class="mr-2 h-4 w-4"/>
|
<Button builders={[builder]} type="submit">
|
||||||
Sign out
|
<LogOut class="mr-2 h-4 w-4"/>
|
||||||
</Button>
|
Sign out
|
||||||
|
</Button>
|
||||||
|
</Sheet.Close>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,10 @@
|
||||||
|
|
||||||
<style lang="postcss">
|
<style lang="postcss">
|
||||||
.container {
|
.container {
|
||||||
display: none;
|
/* display: none;
|
||||||
position: relative;
|
position: relative; */
|
||||||
|
display: flex;
|
||||||
|
align-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue