-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix laggy window issue with Clusterize.js (Filtering and Sorting won'…
…t work anymore)
- Loading branch information
1 parent
c0a77ff
commit d09ee28
Showing
6 changed files
with
83 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* max-height - the only parameter in this file that needs to be edited. | ||
* Change it to suit your needs. The rest is recommended to leave as is. | ||
*/ | ||
.clusterize-scroll{ | ||
max-height: 2160px; | ||
/*overflow: auto;*/ | ||
} | ||
|
||
/** | ||
* Avoid vertical margins for extra tags | ||
* Necessary for correct calculations when rows have nonzero vertical margins | ||
*/ | ||
.clusterize-extra-row{ | ||
margin-top: 0 !important; | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
/* By default extra tag .clusterize-keep-parity added to keep parity of rows. | ||
* Useful when used :nth-child(even/odd) | ||
*/ | ||
.clusterize-extra-row.clusterize-keep-parity{ | ||
display: none; | ||
} | ||
|
||
/* During initialization clusterize adds tabindex to force the browser to keep focus | ||
* on the scrolling list, see issue #11 | ||
* Outline removes default browser's borders for focused elements. | ||
*/ | ||
.clusterize-content{ | ||
outline: 0; | ||
counter-reset: clusterize-counter; | ||
} | ||
|
||
/* Centering message that appears when no data provided | ||
*/ | ||
.clusterize-no-data td{ | ||
text-align: center; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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