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

This commit is contained in:
smail 2026-09-02 23:46:05 +08:00
parent 4891aa03b8
commit e58832763f
2 changed files with 20 additions and 1 deletions

View File

@ -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;

View File

@ -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>