Fix text not being in center in languages other than english #4
This commit is contained in:
parent
8e7087c461
commit
a9fd8a5715
@ -89,9 +89,10 @@ export default {
|
|||||||
class="rounded-full border-4 p-0.5 w-auto h-20"
|
class="rounded-full border-4 p-0.5 w-auto h-20"
|
||||||
:style="`border-color: ${data.colorHex};`"
|
:style="`border-color: ${data.colorHex};`"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
v-if="data.isLive"
|
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
|
>{{ $t("main.live") }}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user