Fixed iPhone frame doesn't disappear on narrow widths
Removed all unnecessary formatting. I have removed all unnecessary formatting as requested. Sorry for inconvenience . Squashed the second commit into first.pull/13476/head
parent
8964f19460
commit
e2e0fd7ccf
|
@ -181,21 +181,24 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 993px) {
|
@media only screen and (min-width: 1031px) {
|
||||||
.iframe-scroll {
|
.iframe-scroll {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 992px) {
|
@media only screen and (max-width: 1030px) {
|
||||||
.iframe-scroll {
|
.iframe-scroll {
|
||||||
height: auto;
|
height: auto;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
.iphone-position {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe.iphone {
|
iframe.iphone {
|
||||||
border: none;
|
border: none;
|
||||||
@media(min-width: 992px) {
|
@media(min-width: 1031px) {
|
||||||
width: 280px;
|
width: 280px;
|
||||||
height: 497px;
|
height: 497px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -203,7 +206,7 @@ iframe.iphone {
|
||||||
right: 35px;
|
right: 35px;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
@media(max-width: 991px) {
|
@media(max-width: 1030px) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
overflow-y: visible;
|
overflow-y: visible;
|
||||||
|
|
Loading…
Reference in New Issue