File tree Expand file tree Collapse file tree 6 files changed +9
-34
lines changed
Expand file tree Collapse file tree 6 files changed +9
-34
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ $inline-inset: rem(24px);
1212 display : flex ;
1313 flex-direction : column ;
1414 container-type : inline-size ;
15-
16- ::part (text-input ) {
17- --textarea-height : #{rem (48px )} ;
18- }
1915}
2016
2117[part = ' chat-container' ] {
@@ -134,7 +130,8 @@ slot[name='prefix'] {
134130}
135131
136132igc-list {
137- --ig-size : 3 ;
133+ --default-size : 3 ;
134+ --list-size : var (--component-size );
138135
139136 padding-block-end : rem (24px );
140137 min-height : fit-content ;
@@ -143,6 +140,8 @@ igc-list {
143140}
144141
145142igc-list-item {
143+ --ig-icon-default-size : var (--list-size );
144+
146145 cursor : pointer ;
147146}
148147
Original file line number Diff line number Diff line change 5252 min-width : rem (90px );
5353 max-width : fit-content ;
5454 flex : 1 1 ;
55-
56- igc-chip {
57- --ig-size : 2 ;
58- }
5955}
6056
6157igc-textarea::part(input ) {
@@ -64,9 +60,8 @@ igc-textarea::part(input) {
6460 overflow-y : auto ;
6561}
6662
67- igc-icon-button ,
68- igc-textarea {
69- --ig-size : 2 ;
63+ igc-icon-button {
64+ --default-size : 2 ;
7065}
7166
7267@container (max-width: 400px) {
Original file line number Diff line number Diff line change 33
44$theme : $bootstrap ;
55
6- :host {
7- ::part (text-input ) {
8- --textarea-height : #{rem (38px )} ;
9- }
10- }
11-
126[part = ' header' ] {
137 box-shadow : none ;
148 border-block-end : rem (1px ) solid var-get ($theme , ' header-border' );
Original file line number Diff line number Diff line change 11@use ' styles/utilities' as * ;
22
3- :host {
4- ::part (text-input ) {
5- --textarea-height : #{rem (40px )} ;
6- }
7- }
8-
93slot [name = ' title' ] {
104 @include type-style (' subtitle-2' ) {
115 margin : 0 ;
@@ -14,4 +8,4 @@ slot[name='title'] {
148
159slot [name = ' prefix' ] {
1610 margin-inline-end : rem (16px );
17- }
11+ }
Original file line number Diff line number Diff line change 33
44$theme : $indigo ;
55
6- :host {
7- ::part (text-input ) {
8- --textarea-height : #{rem (28px )} ;
9- }
10- }
11-
126[part = ' header' ] {
137 box-shadow : none ;
148 border-block-end : rem (1px ) solid var-get ($theme , ' header-border' );
@@ -29,5 +23,5 @@ slot[name='actions'] {
2923}
3024
3125igc-list {
32- --ig -size : 2 ;
33- }
26+ --default -size : 2 ;
27+ }
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ textarea {
5757
5858 & ::placeholder {
5959 opacity : 1 ;
60- line-height : normal ;
6160 }
6261}
6362
You can’t perform that action at this time.
0 commit comments