Reverting left-alignment of toasts
This commit is contained in:
parent
b90aee22d1
commit
5baf3a7feb
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue