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 *ngIf="!readOnly" class="adf-comments-input-container adf-comments-divider">
|
||||
<mat-form-field>
|
||||
<mat-label>{{'COMMENTS.ADD' | translate}}</mat-label>
|
||||
<textarea
|
||||
matInput
|
||||
id="comment-input"
|
||||
class="adf-text-text-area"
|
||||
[placeholder]='"COMMENTS.ADD" | translate'
|
||||
[attr.aria-label]="'COMMENTS.ADD' | translate"
|
||||
[(ngModel)]="message"
|
||||
(keydown.escape)="clearMessage($event)"
|
||||
|
@ -10,14 +10,34 @@ adf-comments {
|
||||
width: 100%;
|
||||
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 {
|
||||
resize: vertical;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#{$mat-form-field} {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,7 +52,7 @@ adf-comments {
|
||||
}
|
||||
|
||||
.adf-comments-input-actions {
|
||||
padding-top: 4px;
|
||||
padding-top: 16px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user