fix(nav): 顶部导航往两边拉开一点 - #21
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
把顶部 nav 的
nav-top-innermax-width 从跟随.container(1320px) 抬到 1520px,让品牌 / Mini Camp 在主流视口能向两侧呼吸一点空间。同时把 sidebar 偏移规则html.has-sidebar .container收紧为:not(.nav-top-inner),免得顶部那条跟着被挤。Diff
仅
src/styles/globals.css一个文件,4 行新增 / 1 行修改:.nav-top-inner加max-width: 1520pxhtml.has-sidebar .container→html.has-sidebar .container:not(.nav-top-inner)验证
纯样式微调,不动文案 / spec / 表单 / 路由。