fix(toast): add max-width to toast

This commit is contained in:
unix
2020-03-26 12:18:47 +08:00
parent 4e203f6094
commit 3d62f41cb4

View File

@@ -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;