mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-17 02:29:10 +00:00
lerna: split up bulk of packages
This commit is contained in:
parent
cb0b1d2410
commit
47a2e5694e
90 changed files with 0 additions and 0 deletions
22
packages/roleypoly-ui/components/tooltip.js
Normal file
22
packages/roleypoly-ui/components/tooltip.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
import styled from 'styled-components'
|
||||
import MediaQuery from '../kit/media'
|
||||
|
||||
export default styled.div`
|
||||
position: absolute;
|
||||
bottom: 35px;
|
||||
font-size: 0.9em;
|
||||
background-color: rgba(0,0,0,0.50);
|
||||
padding: 5px;
|
||||
color: var(--c-red);
|
||||
border-radius: 3px;
|
||||
border: 1px black solid;
|
||||
z-index: 10;
|
||||
opacity: 0.99;
|
||||
overflow: auto;
|
||||
pointer-events: none;
|
||||
/* max-width: 50vw; */
|
||||
white-space: normal;
|
||||
${() => MediaQuery({ md: `
|
||||
white-space: nowrap; `
|
||||
})}
|
||||
`
|
Loading…
Add table
Add a link
Reference in a new issue