Skip to content

Commit 894883b

Browse files
committed
.
1 parent eb8e257 commit 894883b

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

docs/components/Dialog.vue

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
<script setup>
2-
import { VPButton } from 'vitepress/theme'
2+
import { VPButton } from "vitepress/theme";
33
4-
defineProps([
5-
"title",
6-
"open",
7-
"onClose",
8-
"onOpen",
9-
"contentStyle"
10-
]);
4+
defineProps(["title", "open", "onClose", "onOpen", "contentStyle"]);
115
</script>
126

137
<template>
@@ -35,7 +29,6 @@ defineProps([
3529
line-height: 40px;
3630
font-size: 32px;
3731
margin: 16px 26px;
38-
/*margin-bottom: 16px;*/
3932
}
4033
4134
.modal-mask {
@@ -59,8 +52,8 @@ defineProps([
5952
scrollbar-width: none;
6053
}
6154
62-
.modal-content::-webkit-scrollbar {
63-
display: none;
55+
.modal-content::-webkit-scrollbar {
56+
display: none;
6457
}
6558
6659
.modal-container {
@@ -70,7 +63,6 @@ defineProps([
7063
margin: auto;
7164
display: flex;
7265
flex-direction: column;
73-
/*padding: 20px 30px;*/
7466
background-color: var(--vp-c-bg);
7567
border-radius: 12px;
7668
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
@@ -91,4 +83,4 @@ defineProps([
9183
.modal-leave-to .modal-container {
9284
transform: scale(1.1);
9385
}
94-
</style>
86+
</style>

docs/components/repository/ModuleItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { toFormattedFileSize } from "../../helper/toFormattedFileSize";
33
import { useData } from "vitepress";
44
5-
import { VPLink } from 'vitepress/theme'
5+
import { VPLink } from "vitepress/theme";
66
77
const props = defineProps(["module", "params"]);
88

docs/components/repository/RepoHeader.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<script setup>
2-
import { ref } from 'vue'
3-
import Dialog from '../Dialog.vue'
4-
import { VPTeamMembers, VPButton } from 'vitepress/theme'
2+
import { ref } from "vue";
3+
import Dialog from "../Dialog.vue";
4+
import { VPTeamMembers, VPButton } from "vitepress/theme";
55
66
defineProps(["repo", "internalRepo"]);
77
8-
const showModal = ref(false)
8+
const showModal = ref(false);
99
1010
const openModal = () => {
11-
document.body.style.overflow = 'hidden'
12-
showModal.value = true
13-
}
11+
document.body.style.overflow = "hidden";
12+
showModal.value = true;
13+
};
1414
1515
const closeModal = () => {
16-
document.body.style.overflow = 'unset'
17-
showModal.value = false
18-
}
16+
document.body.style.overflow = "unset";
17+
showModal.value = false;
18+
};
1919
</script>
2020

2121
<template>
@@ -37,8 +37,8 @@ const closeModal = () => {
3737

3838
<style scoped>
3939
a {
40-
color: inherit !important;
41-
text-decoration: none !important;
40+
color: inherit !important;
41+
text-decoration: none !important;
4242
}
4343
</style>
4444

docs/en/repository/[name]/[id].md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ const latestVersion = computed(() => {
8787
</article>
8888
</div>
8989

90+
91+
92+
<style scoped>
93+
a {
94+
text-decoration: none !important;
95+
}
96+
</style>
97+
9098
<style module>
9199
.moduleCover {
92100
width: 100%;

0 commit comments

Comments
 (0)