Skip to content

Commit fa2b4e6

Browse files
committed
Optimize the height of loading hint in tag dialog
1 parent 17381de commit fa2b4e6

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
layout: post
3+
categories: poetry
4+
title: "早秋三首之一"
5+
author: 许浑
6+
mention: 唐 淮南一叶下 自觉洞庭波
7+
date: 2025-01-27 +0800
8+
moreDate:
9+
description: 淮南一叶下,自觉洞庭波。
10+
cover:
11+
tags: 诗文 许浑 唐
12+
---
13+
14+
> “自觉洞庭波“🤥。
15+
16+
遥夜泛清瑟,西风生翠萝。
17+
残萤委玉露,早雁拂金河。
18+
高树晓还密,远山晴更多。
19+
**淮南一叶下,自觉洞庭波。**

npm/dist/blog-scaffold-v2.0.0.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/dist/blog-scaffold-v2.0.0.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/src/component/dialog/TagDialog.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,13 @@ class ResultWrapper extends BasePostPaginateShow<ResultWrapperProps> {
138138
render(): React.ReactNode {
139139
let count: JSX.Element
140140
if (this.state.posts.length == 0) {
141-
count = <></>
141+
count = <><span>0</span></>
142142
} else {
143143
count = <><span>{this.state.totalPostsSize}</span></>
144144
}
145145
return (
146146
<>
147147
<p>标记 {this.props.tag}{count}篇博文</p>
148-
{/* <p>标记 {this.props.tag} 的{count}篇<a href="https://mudan.me">hh</a>博文 */}
149148
{this.state.posts != null && this.state.posts.length != 0 &&
150149
<PostResult list={this.state.posts} />
151150
}

npm/src/component/react/LoadingHint.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
.loading-hint-wrapper {
88
display: grid;
99
place-items: center;
10-
height: 5rem;
10+
height: 4.45rem;
1111
}
1212

1313
.loading-hint-btn {

0 commit comments

Comments
 (0)