✨ 未加载时骨架 与 样式小改

This commit is contained in:
2026-06-19 22:08:36 +08:00
parent e70e2358e8
commit 155eba16d1
6 changed files with 37 additions and 25 deletions
+3 -3
View File
@@ -115,13 +115,13 @@ function reverseCollapsed() {
</div>
<div
class="relative flex mt-2 justify-between overflow-hidden duration-300 ease-in-out min-h-[8.5rem]"
:class="{'max-h-[8.5rem]' : collapsed, 'max-h-[100vh]':!collapsed}">
class="relative flex mt-2 justify-between overflow-hidden duration-300 ease-in-out min-h-34"
:class="{'max-h-34' : collapsed, 'max-h-screen':!collapsed}">
<ReadonlyMdEditor
v-if="rawbody" :editor-id="safeEditorId" :markdown="rawbody!"
class="w-full"/>
<div
class="absolute bottom-0 left-0 right-0 h-14 bg-gradient-to-t from-old-neutral-200 dark:from-old-neutral-800 to-transparent pointer-events-none transition-opacity duration-300"
class="absolute bottom-0 left-0 right-0 h-14 bg-linear-to-t from-old-neutral-200 dark:from-old-neutral-800 to-transparent pointer-events-none transition-opacity duration-300"
:class="collapsed && showShadow?'opacity-100':'opacity-0'"
/>
</div>