Skip to content

Add overflow-x and overflow-y to utilities #587

Closed
@emilybrick

Description

This is a follow up for this PR . .overflow-auto was put on the team nav to solve for scrolling the navigation on smaller screens. However, doing so resulted in an unnecessary vertical scroll bar as well.

Including overflow-x and y utilities in Primer would help solve for instances where an overflow on only one (x or y) axis is required.

In the PR, as a workaround, we've included custom styles to account for overflow-x: auto and overflow-y: hidden. Once we add these utilities to the library we should go back and clean up the above PR (e.g. remove the custom styling).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions