feat(profile)!: replace sidebar and add avatar navigation
Rename the global Sidebar route, UI, assets, analytics, and payment return context to Profile. Add accessible message-avatar navigation and preserve the source character across auth and logout flows. BREAKING CHANGE: /sidebar has been removed; use /profile instead.
This commit is contained in:
@@ -54,14 +54,14 @@
|
||||
--chat-avatar-size: clamp(38px, 7.963vw, 43px);
|
||||
--chat-send-button-size: clamp(40px, 8.148vw, 44px);
|
||||
|
||||
/* Sidebar 专用响应式尺寸 */
|
||||
--sidebar-user-padding-y: clamp(18px, 3.704vw, 20px);
|
||||
--sidebar-card-gap-y: clamp(6px, 1.481vw, 8px);
|
||||
--sidebar-card-padding-x: clamp(18px, 5.185vw, 28px);
|
||||
--sidebar-card-padding-y: clamp(16px, 3.333vw, 18px);
|
||||
--sidebar-card-padding-right: clamp(10px, 2.222vw, 12px);
|
||||
--sidebar-avatar-size: clamp(48px, 10.37vw, 56px);
|
||||
--sidebar-voice-image-size: clamp(84px, 18.519vw, 100px);
|
||||
/* Profile 专用响应式尺寸 */
|
||||
--profile-user-padding-y: clamp(18px, 3.704vw, 20px);
|
||||
--profile-card-gap-y: clamp(6px, 1.481vw, 8px);
|
||||
--profile-card-padding-x: clamp(18px, 5.185vw, 28px);
|
||||
--profile-card-padding-y: clamp(16px, 3.333vw, 18px);
|
||||
--profile-card-padding-right: clamp(10px, 2.222vw, 12px);
|
||||
--profile-avatar-size: clamp(48px, 10.37vw, 56px);
|
||||
--profile-voice-image-size: clamp(84px, 18.519vw, 100px);
|
||||
|
||||
/* 响应式字体:按 540px 设计宽度换算,并给小屏设置可读下限。 */
|
||||
--font-responsive-md: clamp(14px, 2.963vw, 16px);
|
||||
|
||||
Reference in New Issue
Block a user