From 9370464cc9fed4740f95dd0b7db749966163347c Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Fri, 15 Mar 2024 11:32:24 +0800 Subject: [PATCH] =?UTF-8?q?perf(theme):=20=20=E5=8D=9A=E5=AE=A2=E9=A1=B5?= =?UTF-8?q?=E6=97=A0=E5=8D=9A=E4=B8=BB=E4=BF=A1=E6=81=AF=E6=97=B6=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/src/client/components/Blog/Archives.vue | 6 ++++++ theme/src/client/components/Blog/PostItem.vue | 6 ++++++ theme/src/client/components/Blog/Tags.vue | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/theme/src/client/components/Blog/Archives.vue b/theme/src/client/components/Blog/Archives.vue index e39cfe6f..d367f815 100644 --- a/theme/src/client/components/Blog/Archives.vue +++ b/theme/src/client/components/Blog/Archives.vue @@ -95,4 +95,10 @@ const { archives } = useArchives() transition: border-bottom var(--t-color); } } + +@media (min-width: 1200px) { + .archives-wrapper { + margin-left: 0; + } +} diff --git a/theme/src/client/components/Blog/PostItem.vue b/theme/src/client/components/Blog/PostItem.vue index ae329fbb..ce81d776 100644 --- a/theme/src/client/components/Blog/PostItem.vue +++ b/theme/src/client/components/Blog/PostItem.vue @@ -151,6 +151,12 @@ const createTime = computed(() => } } +@media (min-width: 1200px) { + .post-item { + margin: 0 0 24px; + } +} + .post-meta { display: flex; flex-wrap: wrap; diff --git a/theme/src/client/components/Blog/Tags.vue b/theme/src/client/components/Blog/Tags.vue index eedc73d1..0725bc4f 100644 --- a/theme/src/client/components/Blog/Tags.vue +++ b/theme/src/client/components/Blog/Tags.vue @@ -149,4 +149,10 @@ const { tags: tagsLink } = useBlogExtract() margin-top: 0; } } + +@media (min-width: 1200px) { + .tags-wrapper { + margin-left: 0; + } +}