perf(theme): 博客页无博主信息时布局优化

This commit is contained in:
pengzhanbo 2024-03-15 11:32:24 +08:00
parent 6912c0e878
commit 9370464cc9
3 changed files with 18 additions and 0 deletions

View File

@ -95,4 +95,10 @@ const { archives } = useArchives()
transition: border-bottom var(--t-color);
}
}
@media (min-width: 1200px) {
.archives-wrapper {
margin-left: 0;
}
}
</style>

View File

@ -151,6 +151,12 @@ const createTime = computed(() =>
}
}
@media (min-width: 1200px) {
.post-item {
margin: 0 0 24px;
}
}
.post-meta {
display: flex;
flex-wrap: wrap;

View File

@ -149,4 +149,10 @@ const { tags: tagsLink } = useBlogExtract()
margin-top: 0;
}
}
@media (min-width: 1200px) {
.tags-wrapper {
margin-left: 0;
}
}
</style>