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

View file

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