Files
ragflow/web/src/utils/css-support.ts
Jimmy Ben Klieve ef4cbe72a3 refactor(ui): adjust global navigation bar style (#13419)
### What problem does this PR solve?

Renovate global navigation bar, align styles to the design.
(May causes minor layout issues in sub-pages, will check and fix soon)

### Type of change

- [x] Refactoring
2026-03-05 20:47:29 +08:00

6 lines
255 B
TypeScript

export const supportsCssAnchor =
CSS.supports('position-anchor', '--anchor-name') &&
CSS.supports('anchor-name', '--anchor-name') &&
CSS.supports('top', 'anchor(--anchor-name bottom)') &&
CSS.supports('width', 'anchor-size(--anchor-name width)');