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

Avoid window controls overlay covering SiYuan toolbar buttons #13771

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

BLumia
Copy link
Contributor

@BLumia BLumia commented Jan 9, 2025

Since we already declares "window-controls-overlay" in our PWA manifest file, we also need to care about the actual place taken by the window controls overlay.

See also:

Resolve: #13226

Screenshot after patch:

image


Feature or bug? 特性或者缺陷?

Bug. 缺陷。

Multilingual or copywriting? 多语言或者文案?

文案无关。

Dev branch!

已核查目标分支为 dev。

@88250 88250 requested a review from Vanessa219 January 9, 2025 13:33
@BLumia BLumia marked this pull request as draft January 9, 2025 13:36
@BLumia
Copy link
Contributor Author

BLumia commented Jan 9, 2025

稍等,我需要再改一下,应当使用margin-left而不是修改现有的padding-left。

@BLumia BLumia marked this pull request as ready for review January 9, 2025 13:40
@BLumia
Copy link
Contributor Author

BLumia commented Jan 9, 2025

方便起见直接在网页修改了,当前本地网速有点慢。若有需要可随意 squash。

edit: 我本地直接 squash + rebase 到当前 dev 分支最新提交了。

Since we already declares "window-controls-overlay" in our PWA manifest file, we also need to care about the actual place taken by the window controls overlay.

See also:

- https://web.dev/articles/window-controls-overlay

Resolve: siyuan-note#13226
@Vanessa219 Vanessa219 added this to the 3.1.20 milestone Jan 10, 2025
@Vanessa219 Vanessa219 merged commit 675e59c into siyuan-note:dev Jan 10, 2025
@BLumia BLumia deleted the pwa-wco branch January 10, 2025 01:46
@88250 88250 changed the title style: avoid window controls overlay covering SiYuan toolbar buttons Avoid window controls overlay covering SiYuan toolbar buttons Jan 10, 2025
@88250
Copy link
Member

88250 commented Jan 10, 2025

感谢你的贡献,思源有你更精彩!
Thank you for your contribution. SiYuan will be more wonderful with you!

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

Successfully merging this pull request may close these issues.

3 participants