22@use ' @Core/scss/mixins' as * ;
33
44.tutor-billing {
5- & -header {
6- background-color : $tutor-surface-base ;
7- border-bottom : 1px solid $tutor-border-idle ;
8- padding-block : $tutor-spacing-5 ;
9-
10- @include tutor-breakpoint-down (sm) {
11- border-bottom : none ;
12- }
13- }
14-
155 & -body {
166 @include tutor-card-base ;
177 @include tutor-card-radius (lg);
18- @include tutor-flex (column , flex-start , center );
19- margin-top : $tutor-spacing-9 ;
20-
21- .tutor-tabs-horizontal {
22- width : 100% ;
23- }
248
259 @include tutor-breakpoint-down (sm) {
2610 background-color : transparent ;
3115 }
3216
3317 & -tabs {
34- padding : $tutor-spacing-6 ;
18+ padding : $tutor-spacing-5 $tutor-spacing-6 ;
19+ border-bottom : 1px solid $tutor-border-idle ;
20+ width : 100% ;
21+
22+ @include tutor-breakpoint-down (sm) {
23+ margin-bottom : $tutor-spacing-4 ;
24+ }
3525
3626 & -content {
3727 width : 100% ;
28+
29+ @include tutor-breakpoint-down (sm) {
30+ border : 1px solid $tutor-border-idle ;
31+ background-color : $tutor-surface-l1 ;
32+ border-radius : $tutor-radius-2xl ;
33+ margin-top : $tutor-spacing-4 ;
34+ }
3835 }
3936
4037 @include tutor-breakpoint-down (sm) {
5653 width : 100% ;
5754
5855 @include tutor-breakpoint-down (sm) {
59- margin-top : $tutor-spacing-4 ;
6056 border : 1px solid $tutor-border-idle ;
6157 background-color : $tutor-surface-l1 ;
6258 border-radius : $tutor-radius-2xl ;
9894
9995 & -left {
10096 @include tutor-flex (column , flex-start , center );
97+ flex : 1 1 0 ;
10198 gap : $tutor-spacing-3 ;
99+ min-width : 0 ;
102100
103101 .tutor-section-separator-vertical {
104102 background-color : $tutor-surface-l2-hover ;
108106
109107 & -right {
110108 @include tutor-flex (column , flex-end , center );
109+ flex-shrink : 0 ;
111110 gap : $tutor-spacing-2 ;
112- text-align : right
111+ text-align : right ;
113112 }
114113
115114 & -title {
115+ @include tutor-flex (row , start , flex-start );
116116 @include tutor-typography (' small' , ' medium' );
117- @include tutor-flex (row , start , center );
117+ @include tutor-text-truncate ();
118+ min-width : 0 ;
119+ width : 100% ;
118120 gap : $tutor-spacing-2 ;
119121
120122 ul {
133135
134136 @include tutor-breakpoint-down (sm) {
135137 @include tutor-flex (column , flex-start , center );
138+ overflow : visible ;
139+ text-overflow : unset ;
140+ white-space : normal ;
141+ overflow-wrap : anywhere;
142+ word-break : break-word ;
136143 }
137144 }
138145
152159 }
153160
154161 & -payment-method {
155- @extend .tutor-billing-card-id ;
156- @include tutor-typography (' tiny-2' );
157- gap : $tutor-spacing-2 ;
158- border-radius : $tutor-radius-sm ;
159- color : $tutor-text-secondary ;
160-
161162 @include tutor-breakpoint-down (sm) {
162- @include tutor-typography (' tiny' );
163- padding : $tutor-spacing-2 ;
163+ .tutor-badge {
164+ font-size : 0 ;
165+ line-height : 0 ;
166+ gap : 0 ;
167+ padding : $tutor-spacing-2 ;
168+
169+ img {
170+ display : block ;
171+ }
172+ }
164173 }
165174 }
166175
200209 }
201210 }
202211 }
203- }
212+ }
0 commit comments