UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

47 lines (46 loc) 1.02 kB
import { staticStylish } from "../styles/theme/customStylishStatic.mjs"; import { createStaticStyles, cx } from "antd-style"; //#region src/Layout/style.ts const styles = createStaticStyles(({ css }) => { return { app: css` overflow: hidden auto; height: 100dvh; `, aside: css` position: sticky; z-index: 2; height: 100%; `, asideInner: css` overflow: hidden auto; width: 100%; height: calc(100dvh - var(--layout-header-height, 64px)); `, content: css` position: relative; flex: 1; max-width: 100%; `, footer: css` position: relative; max-width: 100%; `, header: cx(staticStylish.blur, css` position: sticky; z-index: 999; inset-block-start: 0; max-width: 100%; `), main: css` position: relative; display: flex; align-items: stretch; max-width: 100vw; `, toc: css`` }; }); //#endregion export { styles }; //# sourceMappingURL=style.mjs.map