Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录页与注册页的logo及框架大小不一致 #7198

Open
4 tasks done
Joneeys opened this issue Jan 13, 2025 · 1 comment
Open
4 tasks done

登录页与注册页的logo及框架大小不一致 #7198

Joneeys opened this issue Jan 13, 2025 · 1 comment
Labels
priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@Joneeys
Copy link

Joneeys commented Jan 13, 2025

前置条件

  • 已经在 issues 列表中搜索了相关问题。
  • 这是 Halo 项目本身存在的问题,如果是非项目本身的问题(如:安装部署问题),建议在 Discussions 提交。
  • 已经尝试过停用所有的插件,排除是插件导致的问题。
  • 如果是插件和主题的问题,请在对应的插件和主题仓库提交。

系统信息

  • 启动时间: 2025-01-07 16:18
  • 版本: 2.20.13
  • 构建时间: 2025-01-03 17:56
  • Git Commit: 581d0d9
  • Java: IBM Semeru Runtime Open Edition / 21.0.5+11-LTS
  • 数据库: PostgreSQL / 17.2
  • 操作系统: Linux / 6.1.0-10-amd64
  • 已激活主题: Hao 1.6.1

使用的哪种方式运行?

Docker

发生了什么?

登录页的logo与注册页的logo大小不一致,进入登录页时候logo大小刚刚好,然后点击注册,logo突然就跟着注册框架变大了
希望登录跟注册页的logo及框架大小统一一下

登录页
Image

注册页
Image

复现步骤

No response

相关日志输出

附加信息

No response

@Joneeys Joneeys changed the title 登录页的logo与注册页的logo大小不一致 登录页与注册页的logo及框架大小不一致 Jan 13, 2025
@ruibaby
Copy link
Member

ruibaby commented Jan 20, 2025

因为注册页面的表单布局不同,所以整个表单宽度会和登录不同,Logo 大小设置是使用的百分比,所以会和表单相关。

我不确认这是否值得优化,但如果你一定要修改,可以先使用主题覆盖这些页面,可以参考:https://docs.halo.run/developer-guide/theme/template-variables/auth

@ruibaby ruibaby added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

2 participants