mirror of
https://github.com/zhigang1992/react.git
synced 2026-02-06 22:44:08 +08:00
fix(toast): add max-width to toast
This commit is contained in:
@@ -94,6 +94,7 @@ const ToastItem: React.FC<ToatItemProps> = React.memo(({
|
||||
<style jsx>{`
|
||||
.toast {
|
||||
width: 420px;
|
||||
max-width: 90vw;
|
||||
max-height: 75px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user