Support deleting a task from a schedule

This commit is contained in:
Dane Everitt 2020-03-18 21:08:32 -07:00
parent 5345a2a3e1
commit 78ed343a34
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
10 changed files with 172 additions and 8 deletions

View file

@ -13,11 +13,11 @@ interface Props {
const SpinnerOverlay = ({ size, fixed, visible, backgroundOpacity }: Props) => (
<CSSTransition timeout={150} classNames={'fade'} in={visible} unmountOnExit={true}>
<div
className={classNames('z-50 pin-t pin-l flex items-center justify-center w-full h-full rounded', {
className={classNames('pin-t pin-l flex items-center justify-center w-full h-full rounded', {
absolute: !fixed,
fixed: fixed,
})}
style={{ background: `rgba(0, 0, 0, ${backgroundOpacity || 0.45})` }}
style={{ zIndex: 9999, background: `rgba(0, 0, 0, ${backgroundOpacity || 0.45})` }}
>
<Spinner size={size}/>
</div>