mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ACS-8021] Inputs for comments (#9722)
This commit is contained in:
parent
576705722a
commit
5239dc0553
@ -4,11 +4,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<div *ngIf="!readOnly" class="adf-comments-input-container adf-comments-divider">
|
<div *ngIf="!readOnly" class="adf-comments-input-container adf-comments-divider">
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
<mat-label>{{'COMMENTS.ADD' | translate}}</mat-label>
|
|
||||||
<textarea
|
<textarea
|
||||||
matInput
|
matInput
|
||||||
id="comment-input"
|
id="comment-input"
|
||||||
class="adf-text-text-area"
|
class="adf-text-text-area"
|
||||||
|
[placeholder]='"COMMENTS.ADD" | translate'
|
||||||
[attr.aria-label]="'COMMENTS.ADD' | translate"
|
[attr.aria-label]="'COMMENTS.ADD' | translate"
|
||||||
[(ngModel)]="message"
|
[(ngModel)]="message"
|
||||||
(keydown.escape)="clearMessage($event)"
|
(keydown.escape)="clearMessage($event)"
|
||||||
|
@ -10,14 +10,34 @@ adf-comments {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
|
|
||||||
|
#{$mat-form-field} {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#{$mat-form-field-subscript-wrapper} {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#{$mat-form-field-wrapper} {
|
||||||
|
#{$mat-form-field-flex} {
|
||||||
|
#{$mat-form-field-infix} {
|
||||||
|
padding-bottom: 2px;
|
||||||
|
padding-top: 25px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#{$mat-input-element} {
|
||||||
|
&:focus::placeholder {
|
||||||
|
color: var(--theme-primary-color);
|
||||||
|
-webkit-font-smoothing: subpixel-antialiased;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#{$mat-form-field} {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,7 +52,7 @@ adf-comments {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-comments-input-actions {
|
.adf-comments-input-actions {
|
||||||
padding-top: 4px;
|
padding-top: 16px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user