mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
perf(theme): optimize VPFooter and VPFriends layout (#762)
This commit is contained in:
parent
f599a4223c
commit
6a3babcf76
@ -26,12 +26,12 @@ onMounted(() => {
|
||||
>
|
||||
<slot name="footer-content">
|
||||
<div class="container">
|
||||
<p
|
||||
<div
|
||||
v-if="theme.footer.message"
|
||||
class="message"
|
||||
v-html="theme.footer.message"
|
||||
/>
|
||||
<p
|
||||
<div
|
||||
v-if="theme.footer.copyright"
|
||||
class="copyright"
|
||||
v-html="theme.footer.copyright"
|
||||
|
||||
@ -53,11 +53,19 @@ const groups = computed(() => matter.value.groups || [])
|
||||
<style scoped>
|
||||
.vp-friends {
|
||||
width: 100%;
|
||||
padding-top: calc(var(--vp-nav-height) + 32px);
|
||||
padding-bottom: 5rem;
|
||||
max-width: 100%;
|
||||
padding: 32px 24px 5rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (min-width: 960px) {
|
||||
.vp-friends {
|
||||
padding-top: calc(var(--vp-nav-height) + 32px);
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.vp-friends .title {
|
||||
padding: 32px 20px 0;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user