File tree 2 files changed +24
-23
lines changed
2 files changed +24
-23
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export type {
22
22
Id ,
23
23
ToastItem ,
24
24
ClearWaitingQueueFunc ,
25
- OnChangeCallback
25
+ OnChangeCallback ,
26
+ ToastIcon
26
27
} from './types' ;
27
28
export type { CloseButtonProps } from './components/CloseButton' ;
Original file line number Diff line number Diff line change 90
90
align-items : end;
91
91
}
92
92
93
+ .Toastify__toast {
94
+ --y : 0 ;
95
+ position : relative;
96
+ touch-action : none;
97
+ width : var (--toastify-toast-width );
98
+ min-height : var (--toastify-toast-min-height );
99
+ box-sizing : border-box;
100
+ margin-bottom : 1rem ;
101
+ padding : var (--toastify-toast-padding );
102
+ border-radius : var (--toastify-toast-bd-radius );
103
+ box-shadow : var (--toastify-toast-shadow );
104
+ max-height : var (--toastify-toast-max-height );
105
+ font-family : var (--toastify-font-family );
106
+ /* webkit only issue #791 */
107
+ z-index : 0 ;
108
+ /* inner swag */
109
+ display : flex;
110
+ flex : 1 auto;
111
+ align-items : center;
112
+ word-break : break-word;
113
+ }
114
+
93
115
@media only screen and (max-width : 480px ) {
94
116
.Toastify__toast-container {
95
117
width : 100vw ;
119
141
}
120
142
}
121
143
122
- .Toastify__toast {
123
- --y : 0 ;
124
- position : relative;
125
- touch-action : none;
126
- width : var (--toastify-toast-width );
127
- min-height : var (--toastify-toast-min-height );
128
- box-sizing : border-box;
129
- margin-bottom : 1rem ;
130
- padding : var (--toastify-toast-padding );
131
- border-radius : var (--toastify-toast-bd-radius );
132
- box-shadow : var (--toastify-toast-shadow );
133
- max-height : var (--toastify-toast-max-height );
134
- font-family : var (--toastify-font-family );
135
- /* webkit only issue #791 */
136
- z-index : 0 ;
137
- /* inner swag */
138
- display : flex;
139
- flex : 1 auto;
140
- align-items : center;
141
- word-break : break-word;
142
- }
143
-
144
144
.Toastify__toast-container [data-stacked = 'true' ] {
145
145
width : var (--toastify-toast-width );
146
146
}
You can’t perform that action at this time.
0 commit comments