parent
c7121538bc
commit
5fd98995b0
@ -1,7 +1,7 @@
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { Subscriber } from 'react-broadcast';
|
import { Subscriber } from 'react-broadcast';
|
||||||
import { Baseline } from '../../shared/composers';
|
import { Baseline } from '../../shared/composers';
|
||||||
import { is } from '../../shared/functions';
|
import { is, isNot } from '../../shared/functions';
|
||||||
import Column from '../column';
|
import Column from '../column';
|
||||||
import Row from '../row';
|
import Row from '../row';
|
||||||
import View from './view';
|
import View from './view';
|
||||||
@ -11,6 +11,10 @@ const InnerRow = styled(Row)`
|
|||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
|
||||||
${is('collapsed')`
|
${is('collapsed')`
|
||||||
display: flex;
|
display: flex;
|
||||||
`};
|
`};
|
||||||
|
@ -50,14 +50,15 @@ const StyledButton = styled(Button)`
|
|||||||
const StyledContainer = styled.div`
|
const StyledContainer = styled.div`
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
top: 35%; /* I don't know why this doesn't center with 50% */
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledCircle = styled.div`
|
const StyledCircle = styled.div`
|
||||||
margin: 0 0 2px -2px;
|
margin: 0 0 ${remcalc(2)} ${remcalc(-2)};
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: ${colors.base.white};
|
background-color: ${colors.base.white};
|
||||||
width: 4px;
|
width: ${remcalc(4)};
|
||||||
height: 4px;
|
height: ${remcalc(4)};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Options = ({
|
const Options = ({
|
||||||
|
@ -17,7 +17,7 @@ const StyledView = styled(Row)`
|
|||||||
`};
|
`};
|
||||||
|
|
||||||
${is('collapsed')`
|
${is('collapsed')`
|
||||||
height: ${remcalc(48)};
|
height: ${remcalc(47)};
|
||||||
`};
|
`};
|
||||||
|
|
||||||
${is('fromHeader')`
|
${is('fromHeader')`
|
||||||
|
Loading…
Reference in New Issue
Block a user