0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 05:12:57 -05:00

Fix text not being in center in languages other than english #4

This commit is contained in:
dragongoose 2023-07-10 22:52:29 -04:00
parent 8e7087c461
commit a9fd8a5715

View file

@ -89,9 +89,10 @@ export default {
class="rounded-full border-4 p-0.5 w-auto h-20"
:style="`border-color: ${data.colorHex};`"
/>
<span
<span
v-if="data.isLive"
class="absolute top-16 right-[1.2rem] bg-ctp-red font-bold text-sm p-1.5 py-0.5 rounded-md"
class="absolute flex left-1/2 translate-x-[-50%] whitespace-nowrap uppercase top-16 bg-ctp-red font-bold text-sm p-1.5 py-0.5 rounded-md"
>{{ $t("main.live") }}</span
>
</div>