fix: text-center

This commit is contained in:
huxin 2023-05-07 01:47:09 +08:00
parent 96c06d9337
commit 623df0cc44
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ const colors = [
:key="i" :key="i"
class="h-full w-full flex flex-col items-center justify-center" class="h-full w-full flex flex-col items-center justify-center"
> >
<h5 :title="$t(col.subtext)" class="text-h4 text-h5 mt-3 break-words"> <h5 :title="$t(col.subtext)" class="text-h4 text-h5 mt-3 text-center">
{{ $t(col.subtext) }} {{ $t(col.subtext) }}
</h5> </h5>
</div> </div>
@ -45,7 +45,7 @@ const colors = [
:key="i" :key="i"
class="h-full w-full flex flex-col items-center justify-center" class="h-full w-full flex flex-col items-center justify-center"
> >
<p :title="$t(col.description)" class="text-h6 mt-1 break-words !line-clamp-3"> <p :title="$t(col.description)" class="text-h6 mt-1 text-center">
{{ $t(col.description) }} {{ $t(col.description) }}
</p> </p>
</div> </div>