Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-zh
提交
dbf1f611
unidocs-zh
项目概览
DCloud
/
unidocs-zh
通知
3593
Star
108
Fork
920
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
120
列表
看板
标记
里程碑
合并请求
108
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
120
Issue
120
列表
看板
标记
里程碑
合并请求
108
合并请求
108
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
dbf1f611
编写于
4月 07, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: navbar style
上级
ef48bbea
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
3 addition
and
3 deletion
+3
-3
docs/.vuepress/theme/components/Navbar.vue
docs/.vuepress/theme/components/Navbar.vue
+2
-1
docs/.vuepress/theme/styles/navbar.styl
docs/.vuepress/theme/styles/navbar.styl
+1
-2
未找到文件。
docs/.vuepress/theme/components/Navbar.vue
浏览文件 @
dbf1f611
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
'max-width': linksWrapMaxWidth + 'px'
'max-width': linksWrapMaxWidth + 'px'
} : {}"
} : {}"
>
>
<!-- <a class="switch-version" href="javascript:void(0)"
@click="switchVersion"
>回到旧版</a> -->
<!-- <a class="switch-version" href="javascript:void(0)">回到旧版</a> -->
<DcloudSearchPage
v-if=
"isAlgoliaSearch"
ref=
"dcloudSearchPage"
:options=
"algolia"
/>
<DcloudSearchPage
v-if=
"isAlgoliaSearch"
ref=
"dcloudSearchPage"
:options=
"algolia"
/>
<AlgoliaSearchBox
v-if=
"isAlgoliaSearch"
/>
<AlgoliaSearchBox
v-if=
"isAlgoliaSearch"
/>
<SearchBox
v-else-if=
"$site.themeConfig.search !== false && $page.frontmatter.search !== false"
/>
<SearchBox
v-else-if=
"$site.themeConfig.search !== false && $page.frontmatter.search !== false"
/>
...
@@ -217,6 +217,7 @@ $navbar-horizontal-padding = 1.5rem
...
@@ -217,6 +217,7 @@ $navbar-horizontal-padding = 1.5rem
color $textColor
color $textColor
position relative
position relative
.links
.links
height 100%
padding-left 1.5rem
padding-left 1.5rem
box-sizing border-box
box-sizing border-box
background-color white
background-color white
...
...
docs/.vuepress/theme/styles/navbar.styl
浏览文件 @
dbf1f611
...
@@ -92,8 +92,7 @@ $navbar-logo-height = $navbar-main-navbar-height - 2rem
...
@@ -92,8 +92,7 @@ $navbar-logo-height = $navbar-main-navbar-height - 2rem
justify-content flex-end
justify-content flex-end
.mobile-main-navbar
.mobile-main-navbar
display inline-block
display inline-block
// padding-right 75px
padding-right 85px
padding-right 170px
a
a
color $navbar-a-color
color $navbar-a-color
.mobile-links__btn:after
.mobile-links__btn:after
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录