Skip to content

Commit

Permalink
refactor(system): add support for overflow "overlay" value (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed May 8, 2024
1 parent d213d97 commit 168adcf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/system/src/styles/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,21 @@ export const container = createStyleGenerator<ContainerProps>({
})

export interface OverflowProps<T extends ITheme = Theme> {
overflow?: SystemProp<CSS.Property.Overflow, T>
overflow?: SystemProp<CSS.Property.Overflow | 'overlay', T>
}
export const overflow = style<OverflowProps>({
prop: 'overflow',
})

export interface OverflowXProps<T extends ITheme = Theme> {
overflowX?: SystemProp<CSS.Property.OverflowX, T>
overflowX?: SystemProp<CSS.Property.OverflowX | 'overlay', T>
}
export const overflowX = style<OverflowXProps>({
prop: 'overflowX',
})

export interface OverflowYProps<T extends ITheme = Theme> {
overflowY?: SystemProp<CSS.Property.OverflowY, T>
overflowY?: SystemProp<CSS.Property.OverflowY | 'overlay', T>
}
export const overflowY = style<OverflowYProps>({
prop: 'overflowY',
Expand Down

0 comments on commit 168adcf

Please sign in to comment.