-
Notifications
You must be signed in to change notification settings - Fork 87
refactor: re-implement grid base styles to use CSS borders #10331
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
54794be to
e5f006e
Compare
5bf8c3e to
9d478a4
Compare
ec62dfb to
05c15b8
Compare
9d478a4 to
cfd776d
Compare
bf9d04a to
04ae7af
Compare
5f85ee2 to
f6d6e1f
Compare
f6d6e1f to
ca81b3e
Compare
e4c0b51 to
6c196e2
Compare
852c05f to
1df6c59
Compare
4a21007 to
1ba6f9b
Compare
| :host([navigating]) #header:has(tr:last-child:focus-within), | ||
| :host([navigating]) #footer:has(tr:first-child:focus-within), | ||
| [empty-state] #header { | ||
| z-index: 2; |
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.
Can we make the z-index conditional for the footer? Meaning:
:host([overflow~='bottom']) #footer {
z-index: 2;
}That would avoid the extra strong footer with "auto height" (all-rows-visible):
Or perhaps some selector needs fixing, that the pseudo element on the first footer row is visible in that state (:host(:not([overflow~='top'])) #scroller:not([empty-state]) [part~='first-footer-row']::before).
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.
Thanks, I'll fix it in a follow-up PR.
9f37df3 to
3147d12
Compare
05f98c5 to
a40a22a
Compare
|



Description
The PR refactors the grid base styles to use CSS borders instead of box shadows for rendering row and column borders. This improves grid's rendering performance with the base styles by about 40%, bringing it closer to Lumo:
(measured on a page with a heavy 60-column grid)
Depends on
Type of change