diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-01-30 16:25:23 +0100 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-02-01 13:53:45 +0100 |
commit | 30d082e709cbeded24156436b5bc66dfba53d754 (patch) | |
tree | a8e80f7ff845cf86094b99e262225f4f4133234a /client/components/lists/list.styl | |
parent | 1b11123797a8da92e478ea257cd24ebadf084a24 (diff) | |
download | wekan-30d082e709cbeded24156436b5bc66dfba53d754.tar.gz wekan-30d082e709cbeded24156436b5bc66dfba53d754.tar.bz2 wekan-30d082e709cbeded24156436b5bc66dfba53d754.zip |
Use infinite-scrolling on lists
This allows to reduce the loading time of a big board.
Note that there is an infinite scroll implementation in the mixins,
but this doesn't fit well as the cards in the list can have arbitrary
height.
The idea to rely on the visibility of a spinner is based on
http://www.meteorpedia.com/read/Infinite_Scrolling
Diffstat (limited to 'client/components/lists/list.styl')
-rw-r--r-- | client/components/lists/list.styl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/components/lists/list.styl b/client/components/lists/list.styl index 51ade73c..70502083 100644 --- a/client/components/lists/list.styl +++ b/client/components/lists/list.styl @@ -211,6 +211,9 @@ max-height: 250px overflow: hidden +.sk-spinner-list + margin-top: unset !important + list-header-color(background, color...) border-bottom: 6px solid background |