Center "Watch on YouTube" text and icon

This commit is contained in:
Nyte 2023-06-15 15:17:16 +02:00
parent e982c1e75c
commit 3101cda845

View file

@ -9,13 +9,12 @@ export default {
<template>
<template v-if="this.getPreferenceBoolean('showWatchOnYouTube', false)">
<!-- For large screens -->
<a :href="link" class="btn lt-lg:hidden">
<i18n-t keypath="player.watch_on" tag="strong">
<font-awesome-icon class="mx-1.5" :icon="['fab', 'youtube']" />
</i18n-t>
<a :href="link" class="btn lt-lg:hidden flex items-center">
<i18n-t keypath="player.watch_on" tag="strong">YouTube</i18n-t>
<font-awesome-icon class="mx-1.5" :icon="['fab', 'youtube']" />
</a>
<!-- For small screens -->
<a :href="link" class="btn lg:hidden">
<a :href="link" class="btn lg:hidden flex items-center">
<font-awesome-icon class="mx-1.5" :icon="['fab', 'youtube']" />
</a>
</template>