style: format HTML for consistency and readability
This commit is contained in:
parent
0079ee7bf2
commit
b51305ca64
6 changed files with 53 additions and 44 deletions
|
@ -184,31 +184,21 @@
|
|||
|
||||
<!-- Auth Forms Overlay -->
|
||||
@if (showLogin() || showRegister()) {
|
||||
<div
|
||||
class="fixed inset-0 bg-black/50 z-40"
|
||||
<div
|
||||
class="fixed inset-0 bg-black/50 z-40"
|
||||
(click)="hideAuthForms()"
|
||||
(keydown.enter)="hideAuthForms()"
|
||||
tabindex="0"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
></div>
|
||||
<div
|
||||
class="fixed inset-0 flex items-center justify-center z-50 p-4"
|
||||
role="presentation"
|
||||
>
|
||||
<div
|
||||
class="relative"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
>
|
||||
<div class="fixed inset-0 flex items-center justify-center z-50 p-4" role="presentation">
|
||||
<div class="relative" role="dialog" aria-modal="true">
|
||||
@if (showLogin()) {
|
||||
<app-login
|
||||
(switchForm)="showRegisterForm()"
|
||||
(closeDialog)="hideAuthForms()"
|
||||
></app-login>
|
||||
<app-login (switchForm)="showRegisterForm()" (closeDialog)="hideAuthForms()"></app-login>
|
||||
}
|
||||
@if (showRegister()) {
|
||||
<app-register
|
||||
<app-register
|
||||
(switchForm)="showLoginForm()"
|
||||
(closeDialog)="hideAuthForms()"
|
||||
></app-register>
|
||||
|
|
Reference in a new issue