-
Notifications
You must be signed in to change notification settings - Fork 17
fix(EntityStatus): fix buttons bg in selected table rows #2835
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
Conversation
|
|
||
| .entity-status { | ||
| --button-width: 28px; | ||
| --button-width: 24px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With no paddings there less width is needed
| .entity-status { | ||
| --button-width: 28px; | ||
| --button-width: 24px; | ||
| --entity-status-height: 20px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .ydb-paginated-table__row:hover &, | ||
| .ydb-tree-view__item & { | ||
| width: min-content; | ||
| padding: var(--g-spacing-1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes styling issues with button backgrounds in selected table rows for the EntityStatus component. The changes focus on improving the visual appearance and consistency of the EntityStatus component within table contexts.
- Adjusted button width and added height variables for better sizing consistency
- Removed padding from buttons container to prevent background bleeding
- Cleaned up margin styling for the status text
342fb4c to
bc9602a
Compare
bc9602a to
661c601
Compare
| renderName?: (name?: string) => React.ReactNode; | ||
| label?: string; | ||
| path?: string; | ||
| iconPath?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed unused props to make component a little easier

Closes #2751
Stand: https://nda.ya.ru/t/jTA9G8kH7JVXA9
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: 🔽
Current: 85.41 MB | Main: 85.42 MB
Diff: 7.72 KB (-0.01%)
✅ Bundle size decreased.
ℹ️ CI Information