style: update some style detail for sidebar view

pull/90/head
moonrailgun 2 years ago
parent 3e8820e38f
commit 3f2dd6d623

@ -148,7 +148,7 @@ export const SidebarView: React.FC<SidebarViewProps> = React.memo((props) => {
<SidebarViewContext.Provider value={{ content, setContent }}>
<div className="flex w-full h-full mobile:flex-col mobile:overflow-auto">
<div
className="bg-black bg-opacity-10 flex flex-col justify-start items-end py-20 px-2.5 mobile:items-start mobile:py-10"
className="bg-black bg-opacity-10 flex flex-col justify-start items-end py-20 px-2.5 mobile:items-start mobile:py-10 text-sm"
style={{ flex: '1 0 218px' }}
>
{menu.map((item, i) => (

@ -8,7 +8,7 @@
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"message": "最近",
"description": "The label for the left sidebar"
}
}

@ -7,18 +7,10 @@
"message": "应用部署",
"description": "The label for category 应用部署 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.运维操作": {
"message": "运维操作",
"description": "The label for category 运维操作 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.插件列表": {
"message": "插件列表",
"description": "The label for category 插件列表 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.进阶使用": {
"message": "进阶使用",
"description": "The label for category 进阶使用 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.命令行终端": {
"message": "命令行终端",
"description": "The label for category 命令行终端 in sidebar tutorialSidebar"
@ -42,5 +34,13 @@
"sidebar.tutorialSidebar.category.开发文档": {
"message": "开发文档",
"description": "The label for category 开发文档 in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Operations": {
"message": "运维操作",
"description": "The label for category Operations in sidebar tutorialSidebar"
},
"sidebar.tutorialSidebar.category.Advanced Usage": {
"message": "进阶使用",
"description": "The label for category Advanced Usage in sidebar tutorialSidebar"
}
}

@ -15,7 +15,7 @@ title: Github 集成
### 在项目中进行配置
在根目录创建`.tailchat/topic.json` 文件:
在根目录创建 `.tailchat/topic.json` 文件:
```json
{
"groupId": "<your-notify-group-id>",

Loading…
Cancel
Save