Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Conversation

@daviddossett
Copy link
Collaborator

Link to relevant issue

This pull request resolves an issue related to #189 where the panel contents were overflowing beyond their parent container.

Description of changes

Adds overflow-x to panel container so that the content and tabs scroll if their parent container constrains it to a width that is smaller than itself.

Example in all-components sample

With fix:
CleanShot 2021-10-19 at 13 31 26@2x

Without fix:
CleanShot 2021-10-19 at 13 31 36@2x

Copy link
Member

@hawkticehurst hawkticehurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Feel free to merge once the GH actions issue is sorted.

@daviddossett daviddossett merged commit 241314b into microsoft:main Oct 19, 2021
@daviddossett daviddossett deleted the ddossett/panel-overflow branch October 28, 2021 21:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants