修复侧边栏Logo显示
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-02 23:46:05 +08:00
1 parent 4891aa03b8
commit e58832763f
2 files changed
+20 -1

No files matched your search

@@ -16,6 +16,23 @@
gap: 8px;
}
.brand-logo-shell {
display: inline-flex;
flex: 0 0 auto;
align-items: center;
justify-content: center;
width: 42px;
height: 30px;
overflow: hidden;
border-radius: 7px;
background: #1f4f91;
}
.brand-logo-shell :deep(.brand-logo-frame) {
width: 100%;
height: 100%;
}
.brand-text {
font-size: 19px;
font-weight: 600;
@@ -2,7 +2,9 @@
<div class="sidebar-main">
<div class="brand">
<router-link to="/" class="brand-link">
<BrandLogo variant="compact" surface />
<span class="brand-logo-shell">
<BrandLogo variant="compact" surface />
</span>
<span class="brand-text">Smail</span>
</router-link>
</div>