Change classNames "material-status" to use only Tailwind

This commit is contained in:
danidfra 2024-11-06 16:10:18 -03:00
parent ea9719be51
commit 783176fd87
2 changed files with 3 additions and 2 deletions

View File

@ -401,6 +401,7 @@ const Status: React.FC<IStatus> = (props) => {
return (
<HotKeys handlers={handlers} data-testid='status'>
{/* eslint-disable-next-line jsx-a11y/interactive-supports-focus */}
<div
className={clsx('status cursor-pointer', { focusable })}
tabIndex={focusable && !muted ? 0 : undefined}

View File

@ -5,8 +5,8 @@ import PlaceholderStatus from './placeholder-status';
/** Fake material status to display while data is loading. */
const PlaceholderMaterialStatus: React.FC = () => {
return (
<div className='material-status' tabIndex={-1} aria-hidden>
<div className='material-status__status' tabIndex={0}>
<div className='pb-2.5' tabIndex={-1} aria-hidden>
<div className='rounded-[10px] py-[15px] pb-[10px] shadow-[0_0_6px_0_rgba(0,0,0,0.1)]' tabIndex={0}>
<PlaceholderStatus />
</div>
</div>