mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
[ADF-3827] [Start task] - layout issue - the validation for date field not properly aligned (#4177)
This commit is contained in:
parent
10e58322ae
commit
a8493f1ca1
@ -53,7 +53,7 @@
|
|||||||
[touchUi]="true"
|
[touchUi]="true"
|
||||||
(dateChanged)="onDateChanged($event)">
|
(dateChanged)="onDateChanged($event)">
|
||||||
</mat-datepicker>
|
</mat-datepicker>
|
||||||
<div class="adf-error-text-container">
|
<div class="adf-cloud-date-error-container">
|
||||||
<div *ngIf="dateError">
|
<div *ngIf="dateError">
|
||||||
<div class="adf-error-text">{{'ADF_CLOUD_START_TASK.ERROR.DATE' | translate}}</div>
|
<div class="adf-error-text">{{'ADF_CLOUD_START_TASK.ERROR.DATE' | translate}}</div>
|
||||||
<mat-icon class="adf-error-icon">warning</mat-icon>
|
<mat-icon class="adf-error-icon">warning</mat-icon>
|
||||||
|
@ -8,12 +8,40 @@
|
|||||||
.adf-cloud-start-task-heading {
|
.adf-cloud-start-task-heading {
|
||||||
border-bottom: $header-border;
|
border-bottom: $header-border;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
.mat-card-title {
|
.mat-card-title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-cloud-date-error-container {
|
||||||
|
position: absolute;
|
||||||
|
height: 20px;
|
||||||
|
margin-top: 12px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.adf-error-text {
|
||||||
|
padding-right: 8px;
|
||||||
|
height: 16px;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 1.33;
|
||||||
|
color: mat-color($warn);
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.adf-error-icon {
|
||||||
|
font-size: 17px;
|
||||||
|
color: mat-color($warn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.adf-cloud-start-task-footer {
|
.adf-cloud-start-task-footer {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user