Skip to content

fix(dashboards-ng): do not clip focus-ring in footer#1895

Draft
spike-rabbit wants to merge 1 commit intomainfrom
fix/dashboards/fix-cut-focus-ring
Draft

fix(dashboards-ng): do not clip focus-ring in footer#1895
spike-rabbit wants to merge 1 commit intomainfrom
fix/dashboards/fix-cut-focus-ring

Conversation

@spike-rabbit
Copy link
Copy Markdown
Member

@spike-rabbit spike-rabbit commented Apr 17, 2026

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.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

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.
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant