Skip to content

Commit

Permalink
fix: 全称标题过长导致在微信电脑浏览器中侧边栏标题换行
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Aug 22, 2022
1 parent c98878c commit 0431e97
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/admin/config/defaultSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Settings = {
fixedHeader: false,
fixSiderbar: true,
colorWeak: false,
title: 'Van Blog Admin',
title: 'VanBlog',
headerHeight: 48,
splitMenus: false,
// headerRender: false,
Expand Down
4 changes: 2 additions & 2 deletions packages/admin/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Van Blog Admin",
"short_name": "Van Blog Admin",
"name": "VanBlog",
"short_name": "VanBlog",
"display": "standalone",
"start_url": "/admin",
"theme_color": "#002140",
Expand Down
4 changes: 2 additions & 2 deletions packages/admin/src/pages/document.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="theme-color" content="#1772B4" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Van Blog Admin</title>
<title>VanBlog Admin</title>
<link rel="icon" href="https://pic.mereith.com/logo.svg" type="image/x-icon" />
</head>

Expand Down Expand Up @@ -211,7 +211,7 @@
</div>
<div style="display: flex; align-items: center; justify-content: center">
<img src="<%= context.config.publicPath +'logo.svg'%>" width="32" style="margin-right: 8px" />
Van Blog
VanBlog
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/admin/src/pages/user/Login/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const Login = () => {
<div className={styles.content}>
<LoginForm
logo={<img alt="logo" src="/admin/logo.svg" />}
title="Van Blog"
subTitle={'Van Blog 博客管理后台'}
title="VanBlog"
subTitle={'VanBlog 博客管理后台'}
initialValues={{
autoLogin: true,
}}
Expand Down

0 comments on commit 0431e97

Please sign in to comment.