Bug fix - Inconsistent table border width size on zoom and extra spaces between table cells#1130
Open
ondrejkonec wants to merge 3 commits intoStackExchange:developfrom
Open
Conversation
✅ Deploy Preview for stacks ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Problems:
1px* [zoom]). So for example1px * 150% = 1.5pxand sometimes there is1pxborder with and sometime2px.Solution:
1pxResults:
Zoom 100%
All tables looks similar - There are only small things caused by the fact that I remove the transparent border.
Zoom 150%
Not sure why upload images here does not work, so please open each section in new window for compare.
Default table
Before
After
Table with horizontal lines (
s-table__bx)Before
After
Simple border (
s-table__bx-simple)Before
After
No borders (
s-table__b0)Before
After
Zebra striping (
s-table__stripes)Before
After
Spacing - small (
s-table__sm)Before
After
Spacing - Large (
s-table__lg)Before
After
Sortable tables (
s-table__sortable)Before
After
Bar graphs (
s-table--progress-bar)Before
After
Bulk actions (
s-table--bulk)Before
After
Total rows (
s-table--totals)Before
After
Inactive rows (
<tr class="is-disabled">)Before
After
Results
Tested
Note
I created all variations of Table component in Figma, if designers would like to use it in their component library.
What do you think?
Hope it helps!