fix: loading page logo/name flash, settings name flash, post card radius
- LoadingScreen: remove 🌊 logo; show forum name only after server
responds (fades in place), delayed 650ms before switching to home
- AppProvider: new forumNameLoaded flag; title rotation already handled
- settings API: always returns forum_name (inserts default if missing)
- AdminForumSettings: name input starts empty, fills after fetch
- PostDetail: add id=pagePost so #pagePost .post-detail-card styles
apply (border-radius/shadow were missing)
This commit is contained in:
1 parent
ba65f446ec
commit
68b78c7987
7 files changed
+34
-20
No files matched your search
@@ -36,7 +36,7 @@ export default function PostDetail({ postId }) {
|
||||
|
||||
if (error) {
|
||||
return (
|
||||
<div className="page-slide active" style={{ padding: '40px 0', textAlign: 'center', color: '#ef4444' }}>
|
||||
<div id="pagePost" className="page-slide active" style={{ padding: '40px 0', textAlign: 'center', color: '#ef4444' }}>
|
||||
加载失败:{error}
|
||||
</div>
|
||||
);
|
||||
@@ -88,7 +88,7 @@ export default function PostDetail({ postId }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="page-slide active">
|
||||
<div id="pagePost" className="page-slide active">
|
||||
<div className="page-header" style={{ maxWidth: 700, margin: '0 auto', width: '100%' }}>
|
||||
<h2>{post.title || '帖子详情'}</h2>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user