Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: Distribute height between inspector tabs header and content dynamically #3338

Merged
merged 1 commit into from
Jan 21, 2023

Conversation

grebaldi
Copy link
Contributor

fixes: #2683

The Problem

The <Inspector/>-styles allocate height between the tabs header and the tabs content based on the assumption that there's only one tab header row. As soon as the tabs header breaks into a second row, the tabs content underflows the action buttons at the bottom of the <Inspector/> component.

The Solution

I've adjusted the <Inspector/>-styles using display: flex to distribute the height between the tabs header and the tabs content dynamically. This way, all of the tabs contents remain reachable, even if the tabs header breaks into a third row:

Peek.2023-01-18.16-15.-.Inspector.spacing.webm

@grebaldi grebaldi added Bug Label to mark the change as bugfix Accessibility 7.3 labels Jan 18, 2023
Copy link
Member

@markusguenther markusguenther left a comment

Choose a reason for hiding this comment

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

You are on fire at the moment ;)
Thank you 👏

@crydotsnake crydotsnake self-requested a review January 21, 2023 10:21
Copy link
Member

@crydotsnake crydotsnake left a comment

Choose a reason for hiding this comment

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

Tested and works as expected!
Thanks for taking care

@crydotsnake crydotsnake merged commit 41c6874 into neos:7.3 Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7.3 Accessibility Bug Label to mark the change as bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The last element in a SelectBox cannot be reached in the Inspector in certain constellations
3 participants