Skip to content
Snippets Groups Projects
Unverified Commit 415ae0e0 authored by Tiago Evangelista Pinto's avatar Tiago Evangelista Pinto Committed by GitHub
Browse files

regression: CSS adjustments in `ActionManagerBusyState` (#30388)

parent f883b12d
No related branches found
No related tags found
No related merge requests found
import { css } from '@rocket.chat/css-in-js';
import { Box } from '@rocket.chat/fuselage';
import { useTranslation } from '@rocket.chat/ui-contexts';
import React, { useEffect, useState } from 'react';
......@@ -23,10 +24,23 @@ const ActionManagerBusyState = () => {
if (busy) {
return (
<Box display='flex' position='fixed' zIndex={99999} justifyContent='center' w='100vw'>
<Box bg='tint' p={16} fontSize='p2' elevation='2' borderRadius='0 0 4px 4px'>
{t('Loading')}
</Box>
<Box
className={css`
transform: translateX(-50%);
pointer-events: none;
`}
position='absolute'
insetInlineStart='50%'
p={16}
bg='tint'
color='default'
textAlign='center'
fontSize='p2'
elevation='2'
borderRadius='0 0 4px 4px'
zIndex={99999}
>
{t('Loading')}
</Box>
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment