mobile viewport player overflow fix

This commit is contained in:
2026-02-01 00:50:16 +00:00
parent c2ba9dbeea
commit 9bc32e6378

View File

@@ -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;
}
}