Skip to content

Commit

Permalink
样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
eeg1412 committed Oct 10, 2024
1 parent ac98f5c commit ef67b05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions blog/assets/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -1061,3 +1061,6 @@ ins.adsbygoogle[data-ad-status='unfilled'] {
.blog-tweet-img-swiper-body.video-playing .swiper-pagination {
display: none;
}
.system-ui-font {
font-family: 'system-ui';
}
8 changes: 6 additions & 2 deletions blog/components/PostListFilterBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
class="common-right-tool-btn opacity-70 text-white hover:opacity-100"
@click="onClick"
>
<span v-if="postRouteType === 'blog'" class="text-sm">博</span>
<span v-else-if="postRouteType === 'tweet'" class="text-sm">推</span>
<span v-if="postRouteType === 'blog'" class="text-sm system-ui-font"
>博</span
>
<span v-else-if="postRouteType === 'tweet'" class="text-sm system-ui-font"
>推</span
>
<UIcon name="i-heroicons-adjustments-horizontal" v-else />
</div>
</transition>
Expand Down

0 comments on commit ef67b05

Please sign in to comment.