fix(miniprogram): align workbench header logo layout with template classes

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-09-12 19:13:57 +08:00
1 parent 24572931dc
commit 13a8a0c8df
1 file changed
+5 -8
+5 -8
View File
@@ -59,27 +59,24 @@ page {
} }
.mp-header__title-row { .mp-header__title-row {
padding-right: var(--sq-capsule-right-safe, 96px);
box-sizing: border-box;
}
.mp-header__brand {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 20rpx; gap: 20rpx;
min-width: 0; min-width: 0;
padding-right: var(--sq-capsule-right-safe, 96px);
box-sizing: border-box;
} }
.mp-header__logo { .mp-header__logo {
height: 64rpx; width: 72rpx;
width: auto; height: 72rpx;
flex-shrink: 0; flex-shrink: 0;
border-radius: 12rpx; border-radius: 12rpx;
background: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.18);
} }
.mp-header__brand-text { .mp-header__titles {
flex: 1; flex: 1;
min-width: 0; min-width: 0;
} }