Skip to content

Commit ebc30f3

Browse files
committed
Update: 更新主题细节
1 parent def55d4 commit ebc30f3

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

.vitepress/sidebar/bugs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const bugsSidebar: SidebarType[] = [
2121
{
2222
icon: webIcon,
2323
text: '前端',
24-
collapsed: false,
24+
collapsed: true,
2525
items: [
2626
{
2727
icon: htmlIcon,
@@ -91,7 +91,7 @@ const bugsSidebar: SidebarType[] = [
9191
{
9292
icon: editorIcon,
9393
text: '编辑器',
94-
collapsed: false,
94+
collapsed: true,
9595
items: [
9696
{
9797
icon: androidStudioIcon,

.vitepress/sidebar/learn.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const learnSidebar: SidebarType[] = [
3232
{
3333
icon: webIcon,
3434
text: '前端',
35-
collapsed: false,
35+
collapsed: true,
3636
items: [
3737
{
3838
icon: conceptIcon,
@@ -99,7 +99,7 @@ const learnSidebar: SidebarType[] = [
9999
{
100100
icon: rearEndIcon,
101101
text: '后端',
102-
collapsed: false,
102+
collapsed: true,
103103
items: [
104104
{
105105
icon: javaIcon,
@@ -131,7 +131,7 @@ const learnSidebar: SidebarType[] = [
131131
{
132132
icon: sqlIcon,
133133
text: '数据库',
134-
collapsed: false,
134+
collapsed: true,
135135
items: [
136136
{
137137
icon: mySQLIcon,
@@ -144,7 +144,7 @@ const learnSidebar: SidebarType[] = [
144144
{
145145
icon: deployIcon,
146146
text: '部署',
147-
collapsed: false,
147+
collapsed: true,
148148
items: [
149149
{
150150
icon: dockerIcon,
@@ -157,7 +157,7 @@ const learnSidebar: SidebarType[] = [
157157
{
158158
icon: versionControlIcon,
159159
text: '版本控制',
160-
collapsed: false,
160+
collapsed: true,
161161
items: [
162162
{
163163
icon: gitIcon,
@@ -203,7 +203,7 @@ const learnSidebar: SidebarType[] = [
203203
{
204204
icon: editorIcon,
205205
text: '编辑器',
206-
collapsed: false,
206+
collapsed: true,
207207
items: [
208208
{
209209
icon: ideaIcon,

.vitepress/sidebar/newTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const newToolsSidebar: SidebarType[] = [
1111
link: '/new-tools/docker_install_artalk'
1212
},
1313
{
14-
text: 'README 说明文件美化教程',
14+
text: 'Github README 说明文件美化教程',
1515
link: '/new-tools/readme_beautify'
1616
}
1717
]

package/components/NanoActionBarButton/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
>
1212
<Component
1313
:is="button.icon"
14-
class="w-full h-full fill-[#A0A3AD]"
15-
:class="{ 'group-hover:fill-[#FFFFFF]' : !disabled }"
14+
class="w-full h-full fill-[#A0A3AD] group-focus:fill-[#FFFFFF]!"
15+
:class="{ 'group-hover:fill-[#A0A3AD]' : !disabled }"
1616
/>
1717
</button>
1818
</template>

package/components/NanoMain/index.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,7 @@
114114
return;
115115
}
116116
// Gets the distance of the target element relative to the top of the article viewport
117-
const targetTop =
118-
target.getBoundingClientRect().top -
119-
article.value!.getBoundingClientRect().top -
120-
Number.parseInt(
121-
getComputedStyle(document.documentElement)
122-
.fontSize.replace('px', '')
123-
);
117+
const targetTop = target.getBoundingClientRect().top - article.value!.getBoundingClientRect().top;
124118
// Scroll to target element
125119
scrollbars.value?.osInstance()?.elements()?.viewport?.scrollTo({ top: targetTop, behavior: 'smooth' });
126120
});

src/new-tools/readme_beautify.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
---
2-
lastUpdated: 2023/9/17 02:12
2+
lastUpdated: 2025/1/16 21:24
33
---
44

5-
# README 说明文件美化教程
5+
<style scoped>
6+
img {
7+
box-shadow: unset !important;
8+
}
9+
</style>
610

7-
可能你经常看到别人的项目说明文档写的格式整齐又美观,而且还有各种图标展示
11+
# Github README 说明文件美化教程
12+
13+
可能你经常看到别人的 Github 项目说明文档写的格式整齐又美观,而且还有各种图标展示
814

915
而自己的说明文档缺只有干巴巴的文字,显得奇丑无比
1016

0 commit comments

Comments
 (0)