fix(ui): correct toasts being in the wrong position on smaller screens

This commit is contained in:
sct
2021-04-26 01:29:36 +09:00
parent 11a5e8d95b
commit 2ecd9d7b13
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ const Toast: React.FC<ToastProps> = ({
transitionState,
}) => {
return (
<div className="flex items-end justify-center px-2 py-2 pointer-events-none toast sm:items-start sm:justify-end">
<div className="flex items-end justify-center max-w-full px-2 py-2 pointer-events-none toast sm:items-start sm:justify-end">
<Transition
show={transitionState === 'entered'}
enter="transition duration-300 transform-gpu"