Close sheet on logout and temp fix for showing auth forms on small screens.

This commit is contained in:
Bradley Shellnut 2023-09-12 23:07:29 -07:00
parent df665376ef
commit 0a6c8d013b
2 changed files with 10 additions and 6 deletions

View file

@ -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>

View file

@ -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;