chore: adjust font size

This commit is contained in:
Hakadao
2024-08-29 18:22:52 +08:00
parent 105a764400
commit 5d28409cfc
3 changed files with 11 additions and 9 deletions

View File

@@ -167,19 +167,19 @@ const { isDark } = useDark()
{{ bangumi.title }}
</a>
</p>
<p v-if="bangumi.view || bangumi.follow" text="$bew-text-2" mb-2>
<p v-if="bangumi.view || bangumi.follow" text="sm $bew-text-2" mb-2>
<span v-if="bangumi.view" mr-4>{{ $t('common.view', { count: numFormatter(bangumi.view) }, bangumi.view) }}</span>
<span v-if="bangumi.follow">{{ $t('common.anime_follow_count', { count: numFormatter(bangumi.follow) }, bangumi.follow) }}</span>
</p>
<div text="$bew-text-2" flex flex-wrap gap-2 items-center>
<div text="sm $bew-text-2" flex flex-wrap gap-2 items-center>
<div
v-if="bangumi.capsuleText"
text="$bew-theme-color" bg="$bew-theme-color-20"
p="x-3" h-27px lh-27px rounded-4
p="x-2" h-22px lh-22px rounded-24px
>
{{ bangumi.capsuleText }}
</div>
<span> {{ bangumi.desc }} </span>
<span lh-22px> {{ bangumi.desc }} </span>
</div>
</div>
</a>

View File

@@ -180,7 +180,7 @@ defineExpose({
<main flex="~" overflow-hidden rounded="$bew-radius">
<aside
w="120px" h="430px" overflow="y-auto" rounded="l-$bew-radius"
w="140px" h="430px" overflow="y-auto" rounded="l-$bew-radius"
flex="shrink-0" bg="$bew-fill-1"
>
<ul grid="~ cols-1">

View File

@@ -398,10 +398,11 @@ function handleUndo() {
pos="absolute bottom--2px right--2px"
w-14px h-14px
bg="$bew-theme-color"
border="2 outset solid white"
rounded="1/2"
grid place-items-center
>
<div color-white text-sm class="i-mingcute:check-fill w-10px h-10px" />
<div color-white text-sm class="i-mingcute:check-fill w-8px h-8px" />
</div>
</a>
</div>
@@ -428,7 +429,7 @@ function handleUndo() {
<div i-mingcute:more-2-line text="lg" />
</div>
</div>
<div text="base $bew-text-2" w-fit m="t-2" flex="~ items-center wrap">
<div text="sm $bew-text-2" w-fit m="t-2" flex="~ items-center wrap">
<!-- Author Avatar -->
<span
:style="{
@@ -456,10 +457,11 @@ function handleUndo() {
pos="absolute bottom--2px right--2px"
w-14px h-14px
bg="$bew-theme-color"
border="2 outset solid white"
rounded="1/2"
grid place-items-center
>
<div color-white text-sm class="i-mingcute:check-fill w-10px h-10px" />
<div color-white text-sm class="i-mingcute:check-fill w-8px h-8px" />
</div>
</a>
</div>
@@ -480,7 +482,7 @@ function handleUndo() {
<div flex="~ items-center gap-1 wrap">
<!-- View & Danmaku Count -->
<div
text="$bew-text-2" rounded="$bew-radius"
text="sm $bew-text-2" rounded="$bew-radius"
inline-block
>
<span v-if="video.view || video.viewStr">