Skip to content

feat: added dark mode toggle and mobile collapsible menu.#6

Open
ayyyyano wants to merge 2 commits into
TransHelper:mainfrom
ayyyyano:dark-mode
Open

feat: added dark mode toggle and mobile collapsible menu.#6
ayyyyano wants to merge 2 commits into
TransHelper:mainfrom
ayyyyano:dark-mode

Conversation

@ayyyyano

Copy link
Copy Markdown

描述

变更内容

本提交主要聚焦于日用体验优化,没有重大的功能更改。

  1. 顶栏添加深色模式开关,可以在不支持的设备上进行快速切换。
  2. 在主搜索框右侧新增快速清空按钮,便于进行多次搜索。
  3. 搜索结果上滑一定高度后,在右下角显示一个回顶按钮,可快速回到顶部查看较相关结果。
  4. 在宽度不足时引入菜单收纳,解决移动端可能因页面宽度不足而触发的显示问题。
  5. 向 .gitignore 中添加 frontend/.output/,避免意外导致的构建产物上传。

补充信息

可能存在的移动端问题

image

修复示例

image

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

Successfully merging this pull request may close these issues.

1 participant