mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
d865e27d58
* refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style * refactor: refactor static style
28 lines
669 B
TypeScript
28 lines
669 B
TypeScript
import { createStaticStyles } from 'antd-style';
|
|
|
|
export const styles = createStaticStyles(({ css, cssVar }) => ({
|
|
// 内层容器
|
|
innerContainer: css`
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 1px solid var(--container-border-color, ${cssVar.colorBorder});
|
|
border-radius: var(--container-border-radius, ${cssVar.borderRadius});
|
|
|
|
background: ${cssVar.colorBgContainer};
|
|
`,
|
|
|
|
// 外层容器
|
|
outerContainer: css`
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-block-start: var(--container-padding-top, 8px);
|
|
padding-inline-start: var(--container-padding-left, 8px);
|
|
|
|
background: ${cssVar.colorBgLayout};
|
|
`,
|
|
}));
|