fix: fix bug with iframe block
This commit is contained in:
parent
91616c24ae
commit
1bd798b2fb
|
@ -93,18 +93,4 @@ const Paragraph = styled(Typography)`
|
||||||
|
|
||||||
const IframeContainer = styled.div`
|
const IframeContainer = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 56.25%;
|
|
||||||
padding-top: 30px;
|
|
||||||
height: 0;
|
|
||||||
overflow: hidden;
|
|
||||||
|
|
||||||
& > iframe,
|
|
||||||
& > object,
|
|
||||||
& > embed {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
`
|
`
|
||||||
|
|
Loading…
Reference in New Issue