update style
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@if (sheetVisible()) {
|
||||
<div class="sheet-root">
|
||||
<div class="sheet-root" [style.--drag-y.px]="dragY()">
|
||||
<button
|
||||
class="sheet-root__backdrop"
|
||||
type="button"
|
||||
@@ -7,7 +7,18 @@
|
||||
(click)="dismiss()"
|
||||
></button>
|
||||
|
||||
<section class="sheet" role="dialog" aria-modal="true" aria-labelledby="auth-sheet-title">
|
||||
<div class="sheet-pop">
|
||||
<section
|
||||
class="sheet"
|
||||
[class.sheet--dragging]="dragging()"
|
||||
role="dialog"
|
||||
aria-modal="true"
|
||||
aria-labelledby="auth-sheet-title"
|
||||
(pointerdown)="onDragStart($event)"
|
||||
(pointermove)="onDragMove($event)"
|
||||
(pointerup)="onDragEnd($event)"
|
||||
(pointercancel)="onDragEnd($event)"
|
||||
>
|
||||
<button
|
||||
class="sheet__handle"
|
||||
type="button"
|
||||
@@ -42,7 +53,7 @@
|
||||
}
|
||||
|
||||
<button
|
||||
class="sheet__submit"
|
||||
class="btn sheet__submit"
|
||||
type="button"
|
||||
[disabled]="!emailValid() || pending()"
|
||||
(click)="requestCode()"
|
||||
@@ -76,7 +87,7 @@
|
||||
<button
|
||||
class="sheet__resend"
|
||||
type="button"
|
||||
[disabled]="resendSeconds() > 0 || pending()"
|
||||
[disabled]="secondsLeft() > 0 || pending()"
|
||||
(click)="resend()"
|
||||
>
|
||||
{{ resendLabel() }}
|
||||
@@ -87,7 +98,7 @@
|
||||
}
|
||||
|
||||
<button
|
||||
class="sheet__submit"
|
||||
class="btn sheet__submit"
|
||||
type="button"
|
||||
[disabled]="!codeReady() || pending()"
|
||||
(click)="confirm()"
|
||||
@@ -97,5 +108,6 @@
|
||||
<button class="sheet__ghost" type="button" (click)="changeEmail()">Изменить почту</button>
|
||||
}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user