xaoxuu / hexo-theme-stellar

内置文档系统的简约商务风Hexo主题,支持大量的标签组件和动态数据组件。
https://xaoxuu.com/wiki/stellar/
MIT License
1.26k stars 313 forks source link

分类、标签和归档页面顶部显示异常 #383

Closed gsh1209 closed 7 months ago

gsh1209 commented 7 months ago

在页面内容不满一页时,可能会出现顶部间距消失的问题

正常情况: 20240202180458

间距消失(标签页内容较少,不满一页): 20240202180621

说是可能出现的原因是,在一些博客中,即使内容不满一页也能正常显示 在使用 Stellar 主题的博客中点开了几个,显示异常的例子

显示正常的例子:

出现问题的版本信息(hexo 版本从7.1.1 降级至 7.0.0 再到 6.3.0 均会出现这个问题):

INFO  Validating config
INFO  Welcome to Stellar 1.26.4
DOCS  https://xaoxuu.com/wiki/stellar/
REPO  https://github.com/xaoxuu/hexo-theme-stellar.git

hexo: 6.3.0
hexo-cli: 4.3.1
os: win32 10.0.19045
node: 18.18.1
acorn: 8.10.0
ada: 2.6.0
ares: 1.19.1
brotli: 1.0.9
cldr: 43.1
icu: 73.2
llhttp: 6.0.11
modules: 108
napi: 9
nghttp2: 1.55.0
nghttp3: 0.7.0
ngtcp2: 0.8.1
openssl: 3.0.10+quic
simdutf: 3.2.14
tz: 2023c
undici: 5.22.1
unicode: 15.0
uv: 1.44.2
uvwasi: 0.0.18
v8: 10.2.154.26-node.26
zlib: 1.2.13.1-motley
gsh1209 commented 7 months ago

在显示不正常的页面将浏览器取消最大化,调整窗口尺寸小到不能完整显示页面内容(即内容超出一页),顶部间距就会恢复正常

xaoxuu commented 7 months ago

你看看跟 #380 和 #382 是不是一样的

gsh1209 commented 7 months ago

打扰了。。

github-actions[bot] commented 7 months ago

:wave: Hello, This is a duplicate issue, but we still appreciate your feedback.

:wave: 您好, 这是一个重复的问题,但我们仍然感谢您的反馈。