mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-06-03 19:29:40 +08:00
更新布局和内容组件的样式,优化过渡效果,确保更流畅的用户体验。
This commit is contained in:
@@ -60,7 +60,7 @@ const ContentMD = ({ data }: Props) => {
|
||||
if (!isClient) {
|
||||
return (
|
||||
<div className="ContentMdComponent">
|
||||
<div className="content markdown-body space-y-6 p-4">
|
||||
<div className="content markdown-body transition-colors space-y-6 p-4">
|
||||
{/* 标题骨架屏 */}
|
||||
<Skeleton className="h-10 w-3/4" />
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ export default async function RootLayout({ children }: Readonly<{ children: Reac
|
||||
{/* 监听路由变化 */}
|
||||
<RouteChangeHandler />
|
||||
|
||||
<body id='root' className={`dark:!bg-black-a transition-colors`}>
|
||||
<body id='root' className={`dark:!bg-black-a transition-all`}>
|
||||
{/* 🎉 礼花效果 */}
|
||||
{/* <Confetti /> */}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user