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
Nawazish Ali 2017-02-21 01:13:33 +05:00
parent 8964f19460
commit e2e0fd7ccf
1 changed files with 7 additions and 4 deletions

View File

@ -181,21 +181,24 @@
overflow: hidden;
}
@media only screen and (min-width: 993px) {
@media only screen and (min-width: 1031px) {
.iframe-scroll {
z-index: 1;
}
}
@media only screen and (max-width: 992px) {
@media only screen and (max-width: 1030px) {
.iframe-scroll {
height: auto;
overflow: auto;
}
.iphone-position {
display: none;
}
}
iframe.iphone {
border: none;
@media(min-width: 992px) {
@media(min-width: 1031px) {
width: 280px;
height: 497px;
position: absolute;
@ -203,7 +206,7 @@ iframe.iphone {
right: 35px;
overflow-y: scroll;
}
@media(max-width: 991px) {
@media(max-width: 1030px) {
width: 100%;
border-radius: 5px;
overflow-y: visible;