mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
absolutely massive typescript porting time
This commit is contained in:
parent
01f238f515
commit
30d08a630f
159 changed files with 2563 additions and 3861 deletions
21
packages/roleypoly-ui/components/tooltip.tsx
Normal file
21
packages/roleypoly-ui/components/tooltip.tsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
import styled from 'styled-components'
|
||||
import { md } from '../kit/media'
|
||||
|
||||
export default styled.div`
|
||||
position: absolute;
|
||||
bottom: 35px;
|
||||
font-size: 0.9em;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
padding: 5px;
|
||||
color: var(--c-red);
|
||||
border-radius: 3px;
|
||||
border: 1px black solid;
|
||||
z-index: 10;
|
||||
opacity: 0.99;
|
||||
overflow: auto;
|
||||
pointer-events: none;
|
||||
white-space: normal;
|
||||
${md`
|
||||
white-space: nowrap;
|
||||
`}
|
||||
`
|
Loading…
Add table
Add a link
Reference in a new issue