Change classNames "material-status" to use only Tailwind
This commit is contained in:
parent
ea9719be51
commit
783176fd87
|
@ -401,6 +401,7 @@ const Status: React.FC<IStatus> = (props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HotKeys handlers={handlers} data-testid='status'>
|
<HotKeys handlers={handlers} data-testid='status'>
|
||||||
|
{/* eslint-disable-next-line jsx-a11y/interactive-supports-focus */}
|
||||||
<div
|
<div
|
||||||
className={clsx('status cursor-pointer', { focusable })}
|
className={clsx('status cursor-pointer', { focusable })}
|
||||||
tabIndex={focusable && !muted ? 0 : undefined}
|
tabIndex={focusable && !muted ? 0 : undefined}
|
||||||
|
|
|
@ -5,8 +5,8 @@ import PlaceholderStatus from './placeholder-status';
|
||||||
/** Fake material status to display while data is loading. */
|
/** Fake material status to display while data is loading. */
|
||||||
const PlaceholderMaterialStatus: React.FC = () => {
|
const PlaceholderMaterialStatus: React.FC = () => {
|
||||||
return (
|
return (
|
||||||
<div className='material-status' tabIndex={-1} aria-hidden>
|
<div className='pb-2.5' tabIndex={-1} aria-hidden>
|
||||||
<div className='material-status__status' tabIndex={0}>
|
<div className='rounded-[10px] py-[15px] pb-[10px] shadow-[0_0_6px_0_rgba(0,0,0,0.1)]' tabIndex={0}>
|
||||||
<PlaceholderStatus />
|
<PlaceholderStatus />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue