mobile viewport player overflow fix
This commit is contained in:
@@ -109,8 +109,10 @@ input {
|
||||
}
|
||||
|
||||
#player > img {
|
||||
max-width: 512px;
|
||||
max-height: 512px;
|
||||
min-width: 256px;
|
||||
min-height: 256px;;
|
||||
max-width: 400px;
|
||||
max-height: 400px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@@ -159,4 +161,24 @@ input {
|
||||
box-shadow: 0 5px 5px 5px #bbb;
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
#player > img {
|
||||
min-width: 256px;
|
||||
min-height: 256px;
|
||||
max-width: 300px;
|
||||
max-height: 300px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 300px) {
|
||||
#player > img {
|
||||
min-width: 100px;
|
||||
min-height: 100px;
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user