#1335 Kundendaten erfassen B2B sticky Button

This commit is contained in:
Lorenz Hilpert
2021-01-19 17:26:02 +01:00
parent b333d182b6
commit 83e4f4ee12
5 changed files with 8 additions and 4 deletions

View File

@@ -97,7 +97,7 @@
</div>
</ng-container>
<div class="center">
<div class="center sticky-bottom">
<button class="create-customer-submit" type="submit" [disabled]="control.invalid || control.disabled" [ngSwitch]="control.enabled">
<ng-container *ngSwitchCase="true">
Speichern

View File

@@ -93,7 +93,7 @@
<input uiDateInput type="text" formControlName="dateOfBirth" tabindex="15" />
</ui-form-control>
<div class="center">
<div class="center sticky-bottom">
<button class="create-customer-submit" type="submit" [disabled]="control.invalid || control.disabled" [ngSwitch]="control.enabled">
<ng-container *ngSwitchCase="true">
Speichern

View File

@@ -100,7 +100,7 @@
<input type="text" formControlName="dateOfBirth" uiDateInput tabindex="15" />
</ui-form-control>
<div class="center">
<div class="center sticky-bottom">
<button class="create-customer-submit" type="submit" [disabled]="control.invalid || control.disabled" [ngSwitch]="control.enabled">
<ng-container *ngSwitchCase="true">
Speichern

View File

@@ -97,7 +97,7 @@
<input uiDateInput type="text" formControlName="dateOfBirth" tabindex="15" />
</ui-form-control>
<div class="center">
<div class="center sticky-bottom">
<button class="create-customer-submit" type="submit" [disabled]="control.invalid || control.disabled" [ngSwitch]="control.enabled">
<ng-container *ngSwitchCase="true">
Speichern

View File

@@ -48,6 +48,10 @@ page-customer-type-selector {
@apply text-center;
}
.sticky-bottom {
@apply sticky bottom-0;
}
.create-customer-submit {
@apply border-none outline-none bg-brand text-white font-bold text-cta-l px-px-25 py-px-15 rounded-full my-8;