You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
问题是这样的,我是一名VitePress长期用户,今天我是打算使用VitePress重构博客,然后在测试移动端访问的时候发现一个特别严重的问题:VitePress的移动端导航栏的内边距巨大,单边都有64px,我看是两个32px拼起来的 但不敢确定是不是设计Bug,如图:

这对移动端阅读来说简直是灾难,再来看看修复之后的:

这是CSS:


具体问题是因为
.VPNavScreen本来就有32px内 @ 边距、而.VPNavScreen .container又加上了35px或者32px的外边距(具体得看屏幕宽度 因为内部还设置了最大宽度为288px)。Beta Was this translation helpful? Give feedback.
All reactions