File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed
Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 22
33.wrapper {
44 display : grid ;
5- grid-template-columns : repeat (2 , 1fr );
6- gap : 48px ;
7- padding : 24px ;
5+ gap : rem (48px );
6+ padding : rem (24px );
87}
98
109.badges {
1413 gap : 24px ;
1514}
1615
17- .sample-title {
18- margin : 16px 0 8px 0 ;
19- font-size : 18px ;
20- font-weight : 600 ;
21- }
22-
2316.badge-examples {
2417 display : flex ;
2518 flex-wrap : wrap ;
26- gap : 32px ;
19+ gap : rem ( 32px ) ;
2720 align-items : center ;
28- padding : 16px ;
29- background : color ($color : ' surface' , $variant : 700 );
21+ padding : rem (16px );
22+ background : color ($color : ' gray' , $variant : 100 );
23+ border-radius : rem (8px );
3024}
3125
3226.badge-item {
4640 align-items : center ;
4741 position : relative ;
4842
43+ igx-avatar {
44+ anchor-name : --avatar ;
45+ }
46+
4947 igx-badge {
5048 position : absolute ;
51- top : -4px ;
52- right : -4px ;
49+ position-anchor : --avatar ;
50+ bottom : anchor (--avatar top );
51+ left : anchor (right );
52+ transform : translate (-75% , 75% );
5353 }
5454}
Original file line number Diff line number Diff line change 8181
8282 & -title {
8383 @include type-style (' h6' );
84- margin-bottom : 24px ;
8584
8685 .light {
8786 font-weight : 400 ;
You can’t perform that action at this time.
0 commit comments