Reverting left-alignment of toasts

This commit is contained in:
Alvaro 2022-09-26 18:09:50 -06:00 committed by GitHub
parent b90aee22d1
commit 5baf3a7feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,9 @@
user-select: none;
overflow: hidden;
z-index: $z-index-toast;
bottom: 62px;
left: 50%;
transform: translate(-50%, 0);
@include light-theme {
background-color: $color-gray-80;

View File

@ -94,7 +94,7 @@ export const ToastManager = ({
if (toast?.toastType === ToastType.AddingUserToGroup) {
return (
<Toast onClose={hideToast} timeout={SHORT_TIMEOUT} align="left">
<Toast onClose={hideToast} timeout={SHORT_TIMEOUT}>
{i18n(
'AddUserToAnotherGroupModal__toast--adding-user-to-group',
toast.parameters
@ -105,7 +105,7 @@ export const ToastManager = ({
if (toast?.toastType === ToastType.UserAddedToGroup) {
return (
<Toast onClose={hideToast} align="left">
<Toast onClose={hideToast}>
{i18n(
'AddUserToAnotherGroupModal__toast--user-added-to-group',
toast.parameters