1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3493 from thornbill/eslint-default-last

Add default-case-last rule and fix issues
This commit is contained in:
Bill Thornton 2022-03-10 12:59:42 -05:00 committed by GitHub
commit 5db5d4641d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -22,8 +22,8 @@ function getTextStyles(settings, preview) {
case 'large':
list.push({ name: 'font-size', value: '1.72em' });
break;
default:
case 'medium':
default:
list.push({ name: 'font-size', value: '1.36em' });
break;
}
@ -41,8 +41,8 @@ function getTextStyles(settings, preview) {
case 'none':
list.push({ name: 'text-shadow', value: 'none' });
break;
default:
case 'dropshadow':
default:
list.push({ name: 'text-shadow', value: '#000000 0px 0px 7px' });
break;
}