-
Notifications
You must be signed in to change notification settings - Fork 56
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
fix(tables): preserve table row heights with icons and thumbnails #1674
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Few comments about the actual PR !
This comment was marked as resolved.
This comment was marked as resolved.
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.
Some few things to tackle and we're good to go.
# Conflicts: # site/content/docs/5.2/migration.md
# Conflicts: # .bundlewatch.config.json
…missing bd-example. Reorganize variables.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
LGTM 🚀
# Conflicts: # site/content/docs/5.3/migration.md
PR is ok, updated and approved, waiting for design review (card "Dev. Design review >> Tables: Row height with icons and/or thumbnails") |
Design review of the table sizes The sizes of the table row heights at 40px and 50px are all good. Changes: For the 40px high rows - the vertical positioning of the icons and thumbnails in the table need to move down 1px. |
The vertical positioning of the icons and thumbnails in the table looks good. No more issues. |
// Use negative margins on icons in tables to preserve row height | ||
svg, | ||
img { | ||
margin-top: $table-cell-icon-margin-top; |
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.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Related issues
Fixes #1357
Description
Table lines with icons or thumbnails of 30px x 30px should have a 40px height for standard tables (having .table-sm class) and 50px for large tables (having only .table class).
Motivation & Context
After a design review, it has been concluded that:
So, the action to do are:
Types of change
Live previews
Checklist
npm run lint
)