mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 20:18:07 +01:00
Allow vertical scrollbars to be disabled (user preferences, visible by default)
This commit is contained in:
parent
f1810e47e0
commit
3e01231874
11 changed files with 61 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
template(name="listBody")
|
||||
unless collapsed
|
||||
.list-body
|
||||
.list-body(class="{{#unless isVerticalScrollbars}}no-scrollbars{{/unless}}")
|
||||
.minicards.clearfix.js-minicards(class="{{#if reachedWipLimit}}js-list-full{{/if}}")
|
||||
if cards.length
|
||||
+inlinedForm(autoclose=false position="top")
|
||||
|
|
|
|||
|
|
@ -231,6 +231,11 @@ BlazeComponent.extendComponent({
|
|||
);
|
||||
},
|
||||
|
||||
isVerticalScrollbars() {
|
||||
const user = ReactiveCache.getCurrentUser();
|
||||
return user && user.isVerticalScrollbars();
|
||||
},
|
||||
|
||||
cardDetailsPopup(event) {
|
||||
if (!Popup.isOpen()) {
|
||||
Popup.open("cardDetails")(event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue