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;
|
user-select: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
z-index: $z-index-toast;
|
z-index: $z-index-toast;
|
||||||
|
bottom: 62px;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, 0);
|
||||||
|
|
||||||
@include light-theme {
|
@include light-theme {
|
||||||
background-color: $color-gray-80;
|
background-color: $color-gray-80;
|
||||||
|
|
|
@ -94,7 +94,7 @@ export const ToastManager = ({
|
||||||
|
|
||||||
if (toast?.toastType === ToastType.AddingUserToGroup) {
|
if (toast?.toastType === ToastType.AddingUserToGroup) {
|
||||||
return (
|
return (
|
||||||
<Toast onClose={hideToast} timeout={SHORT_TIMEOUT} align="left">
|
<Toast onClose={hideToast} timeout={SHORT_TIMEOUT}>
|
||||||
{i18n(
|
{i18n(
|
||||||
'AddUserToAnotherGroupModal__toast--adding-user-to-group',
|
'AddUserToAnotherGroupModal__toast--adding-user-to-group',
|
||||||
toast.parameters
|
toast.parameters
|
||||||
|
@ -105,7 +105,7 @@ export const ToastManager = ({
|
||||||
|
|
||||||
if (toast?.toastType === ToastType.UserAddedToGroup) {
|
if (toast?.toastType === ToastType.UserAddedToGroup) {
|
||||||
return (
|
return (
|
||||||
<Toast onClose={hideToast} align="left">
|
<Toast onClose={hideToast}>
|
||||||
{i18n(
|
{i18n(
|
||||||
'AddUserToAnotherGroupModal__toast--user-added-to-group',
|
'AddUserToAnotherGroupModal__toast--user-added-to-group',
|
||||||
toast.parameters
|
toast.parameters
|
||||||
|
|
Loading…
Reference in a new issue