File tree Expand file tree Collapse file tree 1 file changed +9
-12
lines changed
src/components/chip/themes Expand file tree Collapse file tree 1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change 22@use ' styles/utilities' as * ;
33
44:host {
5- display : inline-flex ;
5+ display : inline-block ;
66 vertical-align : top ;
77}
88
99:host button {
1010 @include type-style (' body-2' );
11+ @include ellipsis ();
1112
12- display : flex ;
13+ display : grid ;
14+ grid-auto-flow : column ;
1315 justify-content : center ;
1416 align-items : center ;
1517 font-family : var (--ig-font-family );
1618 border-style : none ;
1719 box-shadow : none ;
1820 cursor : pointer ;
19- padding : pad (2px , 6px , 12px );
21+ padding : 0 pad-inline (rem (2px ), rem (6px ), rem (12px ));
22+ gap : sizable (rem (3px ), rem (6px ), rem (8px ));
2023
2124 & [disabled ] {
2225 pointer-events : none ;
110113 justify-content : center ;
111114}
112115
113- [part = ' prefix' ] {
114- margin-inline-end : pad-inline (rem (3px ), rem (6px ), rem (8px ));
115- }
116-
117- [part = ' suffix' ] {
118- margin-inline-start : pad-inline (rem (3px ), rem (6px ), rem (8px ));
119- }
120-
121116::slotted(* ) {
122- display : flex ;
117+ @include ellipsis ();
118+
119+ max-width : 32ch ;
123120}
You can’t perform that action at this time.
0 commit comments