fix(dashboards-ng): do not clip focus-ring in footer#1895
Merged
chintankavathia merged 1 commit intomainfrom Apr 20, 2026
Merged
fix(dashboards-ng): do not clip focus-ring in footer#1895chintankavathia merged 1 commit intomainfrom
chintankavathia merged 1 commit intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request adjusts the layout and spacing of the widget catalog and dashboard components by removing margin and padding classes from top-level containers and updating the footer padding in the widget catalog. I have no feedback to provide.
92c6568 to
af7e8d8
Compare
The footer / paddings were constructed wrong. In general components in element do not have a build-in padding. Especially not on the block-end. Those are consumer supplied. Exceptions are footer actions and inputs. This rule is violated by the `si-dashboard` which was having a `padding-block-end` leading to the actual footer not having `padding-block-end` and thus causing the focus border to be clipped.
af7e8d8 to
ffacefc
Compare
panch1739
approved these changes
Apr 20, 2026
Member
panch1739
left a comment
There was a problem hiding this comment.
@spike-rabbit I think it looks better now, and we solved the focus problem :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The footer / paddings were constructed wrong.
In general components in element do not have a build-in padding. Especially not on the block-end.
Those are consumer supplied. Exceptions are footer actions and inputs. This rule is violated by the
si-dashboardwhich was having apadding-block-endleading to the actual footer not havingpadding-block-endand thus causing the focus border to be clipped.Documentation.
Examples.
Dashboards Demo.
Playwright report.
Coverage Reports: