-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the summary footer sticky on desktop
This bundles some of the inlince CSS and adds a z-index per sortorder to make the sliding natural. In case of the same z-index the order of creation in the DOM is picked as how to stack. Given that creating the DOM from bottom to top is unmaintable the less worse option is introducing a lot of z-indexes. Perfect solution would be to put this in a class to remove the inline styles but that is left for another time. Unrelated to this PR, it seems in chromium based browser the border/shadow of the sticky elements gets lost. The misalignment of the `tbody` is because we check for the sortorder, when there are multiple we close and open a new one which looks misaligned due to the twig `if` condition.
- Loading branch information
Showing
3 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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