Increase width of quality selector so that 1080p60 doesn't overflow into the full screen button (#2556)

This commit is contained in:
absidue 2022-09-10 16:14:18 +02:00 committed by GitHub
parent 4b47ebee1c
commit 644df97acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1498,6 +1498,8 @@ export default Vue.extend({
<span class="vjs-control-text" aria-live="polite"></span> <span class="vjs-control-text" aria-live="polite"></span>
</li>` */ </li>` */
}) })
// the default width is 3em which is too narrow for qualitly labels with fps e.g. 1080p60
button.style.width = '4em'
return $(button).html( return $(button).html(
$(beginningHtml + qualityHtml + endingHtml).attr( $(beginningHtml + qualityHtml + endingHtml).attr(
'title', 'title',