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

[移动端] 阅读时去除左上角菜单按钮和左下角回到顶部按钮 #397

Closed
LolipopJ opened this issue May 15, 2024 · 1 comment

Comments

@LolipopJ
Copy link
Collaborator

LolipopJ commented May 15, 2024

对主题的建议

访问主题移动端时,两个按钮看上去较为突兀,会占用阅读时的注意力。建议移动端在向下滚动时,隐藏两个按钮;向上滚动时显示。

image

当然,顶部的左上角菜单按钮保持不变。

考虑的其它方案

或是直接在移动端去除这两个按钮。

其它

此外,在移动端点击这两个按钮时,会进入 Focus 高亮状态,这应该是不符合预期的,需要去除 Focus 高亮。

@LolipopJ
Copy link
Collaborator Author

LolipopJ commented May 20, 2024

对移动端进行了如下优化:

  • 去除左下角的“返回顶部”按钮(commit,原来之前已经改过这里的代码了……)
  • 正确显示菜单按钮的高亮状态(commit

此外:

  • 优化菜单按钮,当左侧的 Sidebar 激活时,保持高亮状态(commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant