forked from abner/for-legacy-web
fix(discover): height
parent
62335e4902
commit
8029f39c4e
|
|
@ -37,7 +37,7 @@ const Container = styled.div`
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Frame = styled.iframe<{ loaded: boolean }>`
|
const Frame = styled.iframe<{ loaded: boolean }>`
|
||||||
border: 0;
|
border: none;
|
||||||
|
|
||||||
${() =>
|
${() =>
|
||||||
!isTouchscreenDevice &&
|
!isTouchscreenDevice &&
|
||||||
|
|
@ -50,7 +50,7 @@ const Frame = styled.iframe<{ loaded: boolean }>`
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.loaded
|
props.loaded
|
||||||
? css`
|
? css`
|
||||||
flex-grow: 1;
|
height: 100%;
|
||||||
`
|
`
|
||||||
: css`
|
: css`
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue