Skip to content

Commit 1b69f25

Browse files
committed
fix(theme-yun): say border-top, close #512
1 parent d6bab55 commit 1b69f25

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

packages/valaxy-theme-yun/components/YunSay.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ onMounted(() => {
7070
font-family: var(--va-font-serif);
7171
font-weight: bold;
7272
padding: 0.5rem;
73-
border-top: var(--va-border-width) solid var(--va-c-text-light);
73+
// border-top: var(--va-border-width) solid var(--va-c-text-light);
7474
border-bottom: var(--va-border-width) solid var(--va-c-text-light);
7575
7676
.say-content {

packages/valaxy-theme-yun/layouts/home.vue

+22-21
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,28 @@ const showNotice = computed(() => {
2626
>
2727
<template v-if="themeConfig.banner.enable">
2828
<template v-if="!isPage">
29-
<YunBanner />
30-
<Transition
31-
v-if="yun.isNimbo"
32-
enter-from-class="scale-60"
33-
enter-to-class="scale-100"
34-
enter-active-class="transition-300 transition-cubic-bezier-ease-in-out delay-1000"
35-
appear
36-
>
37-
<div class="absolute top-0 left-5 right-5 bottom-0 flex-center">
38-
<Transition
39-
enter-from-class="op-0"
40-
enter-to-class="op-100"
41-
enter-active-class="transition-800 delay-1000"
42-
appear
43-
>
44-
<YunPrologueSquare class="z-1" />
45-
</Transition>
46-
</div>
47-
</Transition>
48-
49-
<YunSay v-if="themeConfig.say.enable" w="full" />
29+
<div class="w-full">
30+
<YunBanner />
31+
<Transition
32+
v-if="yun.isNimbo"
33+
enter-from-class="scale-60"
34+
enter-to-class="scale-100"
35+
enter-active-class="transition-300 transition-cubic-bezier-ease-in-out delay-1000"
36+
appear
37+
>
38+
<div class="absolute top-0 left-5 right-5 bottom-0 flex-center">
39+
<Transition
40+
enter-from-class="op-0"
41+
enter-to-class="op-100"
42+
enter-active-class="transition-800 delay-1000"
43+
appear
44+
>
45+
<YunPrologueSquare class="z-1" />
46+
</Transition>
47+
</div>
48+
</Transition>
49+
<YunSay v-if="themeConfig.say.enable" w="full" />
50+
</div>
5051
<YunPrologue v-if="yun.isNimbo" class="absolute left-0 top-0 right-0 bottom-0" />
5152
</template>
5253
</template>

packages/valaxy-theme-yun/node/config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export const defaultThemeConfig: ThemeConfig = {
2626
},
2727

2828
say: {
29-
enable: false,
29+
// enable: false,
30+
enable: true,
3031
api: '',
3132
// api: 'https://el-bot-api.elpsy.cn/api/words/young',
3233
hitokoto: {

0 commit comments

Comments
 (0)