File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 44 --a-card--box-shadow : none ;
55 --a-card--padding : var (--size-large );
66 --a-card--color : inherit ;
7+ --a-card--border-radius : var (--border-radius-normal );
78
89 background-color : var (--a-card--background-color );
910 border : var (--a-card--border );
10- border-radius : var (--border-radius-normal );
11+ border-radius : var (--a-card-- border-radius );
1112 box-shadow : var (--a-card--box-shadow );
1213 color : var (--a-card--color );
1314 padding : var (--a-card--padding );
Original file line number Diff line number Diff line change 1212 ['a-toast__item--inverse']: item.variant
1313 && (item.variant !== 'warn')
1414 && (item.variant !== 'default')
15- && (item.variant !== 'tertiary'),
15+ && (item.variant !== 'tertiary')
16+ && (item.variant ),
1617 [`${item.variant}`]: item.variant
1718 }"
1819 :variant =" item.variant"
@@ -72,28 +73,38 @@ export default {
7273 </script >
7374
7475<style lang="scss">
76+ @import ' @/styles/utils/index' ;
77+
7578.a-toast {
7679 overflow : hidden ;
7780 position : fixed ;
7881 max-height : 100vh ;
79- max-width : 380px ;
80- padding-right : 24px ;
8182 right : 0px ;
82- top : 24px ;
8383 width : 100% ;
8484 z-index : 100 ;
85+ top : 0 ;
86+
87+ @include for-mobile-up {
88+ top : 24px ;
89+ max-width : 380px ;
90+ padding-right : 24px ;
91+ }
8592
8693 & __item {
87- --a-card--padding : 16px ;
88- margin : 4 px ;
94+ --a-card--padding : 16px !important ;
95+
8996 align-items : center ;
9097 display : flex ;
9198 position : relative ;
9299 width : 100% ;
93- margin-bottom : 8px ;
100+
101+ @include for-mobile-up {
102+ margin : 4px ;
103+ margin-bottom : 8px ;
104+ }
94105
95106 & --inverse {
96- color : var (--color-theme-inverse );
107+ color : var (--color-theme-inverse ) !important ;
97108 }
98109 }
99110
You can’t perform that action at this time.
0 commit comments