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

改进 /菜单 的高度 #13912

Closed
TCOTC opened this issue Jan 21, 2025 · 1 comment
Closed

改进 /菜单 的高度 #13912

TCOTC opened this issue Jan 21, 2025 · 1 comment

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jan 21, 2025

菜单的高度应该需要根据窗口高度动态调整,我看 Notion 用的是 max-height: min(448px, 40vh);、FlowUs 和 Wolai 是 max-height: 40vh;

窗口小的情况下菜单会太高:

Image

Originally posted by @TCOTC in #13726

TCOTC added a commit to TCOTC/siyuan that referenced this issue Feb 2, 2025
TCOTC added a commit to TCOTC/siyuan that referenced this issue Feb 2, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Feb 2, 2025

#14000

@TCOTC TCOTC closed this as completed Feb 2, 2025
Vanessa219 pushed a commit that referenced this issue Feb 3, 2025
* fix: 改进斜杠菜单的元素高度

fix #13912

* fix: 改进斜杠菜单的元素高度

fix #13912
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