Files
chat-one-web/src/index.css
alboped d4a91f11cb
All checks were successful
CI / build (push) Successful in 2m17s
feat: 短信登录、会话续签与侧栏体验优化
新增 auth/paths 与登录页;HTTP 与流式聊天在 401 时续签,失败则清理会话并跳转登录。
侧栏用户信息区布局修复;用户菜单项间距与验证码发送冷却、antd 发送按钮。

Made-with: Cursor
2026-04-21 06:30:43 +08:00

42 lines
690 B
CSS

@import "tailwindcss";
html,
body {
margin: 0;
height: 100%;
font-size: 14px;
overflow: hidden;
}
#root {
margin: 0;
min-height: 0;
height: 100%;
}
/* Ant Layout 默认 min-height 会撑开整页;限制后仅内容区滚动 */
.chat-one-shell.ant-layout {
min-height: 0;
}
.chat-one-shell > .ant-layout {
min-height: 0;
}
.chat-one-shell .ant-layout-content {
min-height: 0;
}
/* DeepSeek 风格近似色 */
:root {
--ds-bg-main: #ffffff;
--ds-bg-sider: #f7f7f8;
--ds-border: #ececec;
--ds-text-secondary: #8b8b8b;
--ds-user-bubble: #e8f3ff;
--ds-user-border: #cce7ff;
--ds-active-item: #e3f2fd;
--ds-send: #4dabf7;
--ds-send-hover: #339af0;
}