-
Notifications
You must be signed in to change notification settings - Fork 99
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
Improve entity tags and permissions table layout #1021
Conversation
swaterkamp
commented
Oct 12, 2018
- Center Actions column
- Remove toggleDetailsIcon from permissions tab
gsa/src/web/entity/tags.js
Outdated
/> | ||
</IconDivider> | ||
<TableData align="center"> | ||
<span> |
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.
Is the span really necessary? At least it shouldn't.
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.
It shouldn't, but it is. The IconDivider was not centered without the span.
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.
Did you try setting the align at the IconDivider?
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.
Yes, I did, but it didn't work. What I did not test, though, is to set the IconDivider to grow. A growing divider plus the align="center" in its tag solves the issue.
Also adjust Actions column width
However: The margin on top of the table does not collapse and it seem like there is an invisible pagination component somewhere. Needs to be found and fixed in the future.
Codecov Report
@@ Coverage Diff @@
## master #1021 +/- ##
=========================================
+ Coverage 9.5% 9.51% +0.01%
=========================================
Files 820 820
Lines 26650 26615 -35
Branches 5621 5606 -15
=========================================
Hits 2533 2533
+ Misses 22499 22466 -33
+ Partials 1618 1616 -2
Continue to review full report at Codecov.
|