mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
修复hero-name过长导致的布局错误
This commit is contained in:
parent
8b9833449b
commit
4f255e51ec
@ -52,13 +52,7 @@ const actions = computed(() => {
|
||||
<p v-if="text" class="hero-text">{{ text }}</p>
|
||||
<div v-if="actions" class="actions">
|
||||
<div v-for="action in actions" :key="action.link" class="action">
|
||||
<VButton
|
||||
tag="a"
|
||||
size="medium"
|
||||
:theme="action.theme"
|
||||
:text="action.text"
|
||||
:href="action.link"
|
||||
/>
|
||||
<VButton tag="a" size="medium" :theme="action.theme" :text="action.text" :href="action.link" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -88,6 +82,7 @@ const actions = computed(() => {
|
||||
|
||||
.plume-home .content {
|
||||
padding: 0 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.plume-home .content .hero-name {
|
||||
@ -96,6 +91,7 @@ const actions = computed(() => {
|
||||
line-height: 1;
|
||||
color: var(--vp-c-text-hero-name);
|
||||
}
|
||||
|
||||
.plume-home .content .hero-tagline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -131,6 +127,7 @@ const actions = computed(() => {
|
||||
max-width: 768px;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
|
||||
.plume-home .content .hero-name {
|
||||
font-size: 100px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user