Skip to content

Commit 6ccf28e

Browse files
committed
fix: 修复网站样式问题
1 parent 9058e81 commit 6ccf28e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/devui-vue/docs/.vitepress/devui-theme/Layout.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ const contributors = computed(() => {
272272
max-width: unset;
273273
}
274274
275+
a:hover {
276+
text-decoration: none;
277+
}
278+
275279
.btn-become-contributor {
276280
margin-top: 1rem;
277281
}

packages/devui-vue/docs/.vitepress/devui-theme/components/HomeHero.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ const heroText = computed(() => frontmatter.value.heroText || site.value.title)
6161
margin: 2.5rem 0 2.75rem;
6262
padding: 0 1.5rem;
6363
text-align: center;
64+
65+
.image {
66+
width: auto !important;
67+
height: 260px !important;
68+
}
6469
}
6570
6671
@media (min-width: 420px) {

0 commit comments

Comments
 (0)