Remove dead code, simply inset
This commit is contained in:
parent
a4b24313a0
commit
4de899b2ae
2 changed files with 1 additions and 21 deletions
|
@ -32,10 +32,7 @@ const MakeRootHostContainStatic =
|
||||||
const Container = styled(PointerEventsHandler)`
|
const Container = styled(PointerEventsHandler)`
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0px;
|
inset: 0px;
|
||||||
right: 0px;
|
|
||||||
bottom: 0px;
|
|
||||||
left: 0px;
|
|
||||||
|
|
||||||
&.invisible {
|
&.invisible {
|
||||||
pointer-events: none !important;
|
pointer-events: none !important;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import {Box} from '@theatre/dataverse'
|
import {Box} from '@theatre/dataverse'
|
||||||
import {useVal} from '@theatre/react'
|
import {useVal} from '@theatre/react'
|
||||||
import type {IExtension} from '@theatre/studio'
|
import type {IExtension} from '@theatre/studio'
|
||||||
import {pointerEventsAutoInNormalMode} from '@theatre/studio/css'
|
|
||||||
import getStudio from '@theatre/studio/getStudio'
|
import getStudio from '@theatre/studio/getStudio'
|
||||||
import type {ToolsetConfig} from '@theatre/studio/TheatreStudio'
|
import type {ToolsetConfig} from '@theatre/studio/TheatreStudio'
|
||||||
import React, {useLayoutEffect, useMemo} from 'react'
|
import React, {useLayoutEffect, useMemo} from 'react'
|
||||||
|
@ -18,22 +17,6 @@ const Container = styled.div`
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
`
|
`
|
||||||
|
|
||||||
const Bg = styled.div`
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
gap: 1rem;
|
|
||||||
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 6px 6px;
|
|
||||||
|
|
||||||
${pointerEventsAutoInNormalMode};
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba(0, 0, 0, 0.15);
|
|
||||||
backdrop-filter: blur(4px);
|
|
||||||
}
|
|
||||||
`
|
|
||||||
|
|
||||||
const GroupDivider = styled.div`
|
const GroupDivider = styled.div`
|
||||||
position: abolute;
|
position: abolute;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
Loading…
Reference in a new issue