优化细节✅

This commit is contained in:
Han
2025-04-07 11:34:37 +08:00
parent b4ed327373
commit d0cafa72de
7 changed files with 28 additions and 22 deletions
+2 -3
View File
@@ -61,7 +61,7 @@ import "./Aside.less";
<!-- 公告块 -->
{
AsideShow.TipsShow && (
SITE_CONFIG.Tips && (
<section class="vh-aside-item tips">
<span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
@@ -71,8 +71,7 @@ import "./Aside.less";
公告
</span>
<div class="tips-content">
<p>欢迎访问我的博客,我是一名前端工程师,喜欢分享前端知识和技巧。</p>
<p>如果你对我的博客感兴趣,欢迎关注我的公众号,我会定期发布一些前端技术文章和教程。</p>
<Fragment set:html={SITE_CONFIG.Tips} />
</div>
</section>
)
+1 -1
View File
@@ -430,7 +430,7 @@
box-sizing: border-box;
padding: 0.188rem;
margin: 0.188rem 0;
border: solid 1px #E8E8E8;
border: solid 1px var(--vh-font-16);
display: block;
max-height: 66px;
object-fit: contain;
+1 -1
View File
@@ -51,7 +51,7 @@
box-sizing: border-box;
padding: 0.66rem 0.66rem 0;
width: 100%;
max-width: 26rem;
max-width: 28.88rem;
height: max-content;
color: var(--vh-white-color);
text-align: center;
+1 -1
View File
@@ -48,7 +48,7 @@ section.vh-art-page {
pointer-events: none;
&>svg {
color: #E8E8E8;
color: var(--vh-font-16);
}
}