File tree Expand file tree Collapse file tree 4 files changed +74
-1
lines changed Expand file tree Collapse file tree 4 files changed +74
-1
lines changed Original file line number Diff line number Diff line change 2626 width : 640px ;
2727 }
2828
29+ & .modal-size-large-tall {
30+ height : 800px ;
31+ width : 640px ;
32+ }
33+
2934 & .modal-size-medium-wide {
3035 height : 600px ;
3136 width : 840px ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const enum ModalSize {
1414 Small = 'small' ,
1515 Medium = 'medium' ,
1616 Large = 'large' ,
17+ LargeTall = 'large-tall' ,
1718 MediumWide = 'medium-wide'
1819}
1920
Original file line number Diff line number Diff line change 1+ @import ' mixins' ;
2+
3+ :host {
4+ ::ng- deep {
5+ &.mat- form- field {
6+ display : block ;
7+ height : 100% ;
8+ width : 100% ;
9+ }
10+
11+ & .mat-focused {
12+ .mat-form-field-label {
13+ color : $gray-5 ;
14+ }
15+ }
16+
17+ .mat-form-field-underline {
18+ display : none ;
19+ }
20+
21+ .mat-form-field-infix {
22+ height : inherit ;
23+ width : inherit ;
24+ border : unset ;
25+ padding : 0 0 0 8px ;
26+ }
27+
28+ .mat-form-field-flex {
29+ height : inherit ;
30+ width : inherit ;
31+ }
32+
33+ .mat-form-field-wrapper {
34+ height : inherit ;
35+ width : inherit ;
36+ padding-bottom : 0 ;
37+
38+ .mat-form-field-label {
39+ padding : 0 0 0 8px ;
40+ line-height : initial ;
41+ color : $gray-5 ;
42+ }
43+ }
44+
45+ .mat-input-element {
46+ height : inherit ;
47+ width : inherit ;
48+ margin : 0 ;
49+
50+ & :after {
51+ width : unset ;
52+ margin : 4px ;
53+ }
54+ }
55+
56+ .textarea.mat-input-element {
57+ padding : 0 ;
58+ margin-top : 8px ;
59+ }
60+ }
61+ }
62+
63+ .textarea {
64+ height : 100% ;
65+ width : 100% ;
66+ }
Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ import { LoggerService } from '@hypertrace/common';
66 styleUrls : [ './textarea.component.scss' ] ,
77 changeDetection : ChangeDetectionStrategy . OnPush ,
88 template : `
9- <mat-form-field class="full-page ">
9+ <mat-form-field class="fill-container" floatLabel="never ">
1010 <textarea
11+ class="textarea"
1112 matInput
1213 [disabled]="this.disabled"
1314 [placeholder]="this.placeholder"
You can’t perform that action at this time.
0 commit comments