fix dialog, and wierd scroll bar
This commit is contained in:
parent
28a7006d0d
commit
9e543a00eb
|
@ -458,10 +458,11 @@
|
|||
<div
|
||||
class="modal modal-open"
|
||||
*ngIf="
|
||||
isTokenVerified() ||
|
||||
(isTokenVerified() ||
|
||||
isVerifying() ||
|
||||
verificationError() ||
|
||||
isAutoLoginInProgress()
|
||||
isAutoLoginInProgress()) &&
|
||||
isValidLoginAttempt()
|
||||
"
|
||||
tabindex="-1"
|
||||
aria-labelledby="verify-modal-title"
|
||||
|
|
|
@ -254,6 +254,10 @@ export class WelcomeRootComponent implements OnInit {
|
|||
}
|
||||
}
|
||||
|
||||
public isValidLoginAttempt(): boolean {
|
||||
return this.signin() && this.token() !== '';
|
||||
}
|
||||
|
||||
private focusPasswordField(): void {
|
||||
if (this.passwordInput) {
|
||||
this.passwordInput.nativeElement.focus();
|
||||
|
|
|
@ -8,3 +8,8 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
|
||||
:root:has(:is(.modal-open, .modal:target, .modal-toggle:checked + .modal, .modal[open])) {
|
||||
scrollbar-gutter: auto
|
||||
;}
|
||||
|
|
Loading…
Reference in New Issue