Scope fullscreen button size to hover-capable devices

Wrapped the fullscreen button SVG sizing rules in a media query targeting devices with hover and fine pointer capabilities. This prevents the size override from affecting touch devices.
This commit is contained in:
Yiannis Christodoulou 2025-10-16 15:50:56 +03:00
parent d955576a7e
commit 219e80e9e2

View File

@ -29,7 +29,9 @@ button {
} }
/* Center the fullscreen button inside its wrapper */ /* Center the fullscreen button inside its wrapper */
@media (hover: hover) and (pointer: fine) {
.vjs-fullscreen-control svg { .vjs-fullscreen-control svg {
width: 30px !important; width: 30px !important;
height: 30px !important; height: 30px !important;
} }
}