mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Issue : Clicking the scrollbar closes the card on Chrome #1404
Resolved #1404
This commit is contained in:
parent
44a819226f
commit
0620fe5e11
3 changed files with 13 additions and 2 deletions
|
@ -87,3 +87,6 @@ momentjs:moment@2.22.2
|
|||
browser-policy-framing
|
||||
mquandalle:moment
|
||||
msavin:usercache
|
||||
wekan:wekan-ldap
|
||||
wekan:accounts-cas
|
||||
maazalik:malihu-jquery-custom-scrollbar
|
||||
|
|
|
@ -112,6 +112,9 @@ BlazeComponent.extendComponent({
|
|||
onRendered() {
|
||||
if (!Utils.isMiniScreen()) {
|
||||
Meteor.setTimeout(() => {
|
||||
$(".card-details").mCustomScrollbar({
|
||||
theme:"minimal-dark", setWidth: false, setLeft: 0, scrollbarPosition: "outside", mouseWheel:true
|
||||
});
|
||||
this.scrollParentContainer();
|
||||
}, 500);
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
@import 'nib'
|
||||
|
||||
.card-details
|
||||
padding: 0 20px
|
||||
padding: 0
|
||||
flex-shrink: 0
|
||||
flex-basis: 470px
|
||||
flex-basis: 510px
|
||||
will-change: flex-basis
|
||||
overflow-y: scroll
|
||||
overflow-x: hidden
|
||||
|
@ -14,11 +14,16 @@
|
|||
box-shadow: 0 0 7px 0 darken(white, 30%)
|
||||
transition: flex-basis 0.1s
|
||||
|
||||
.mCustomScrollBox
|
||||
padding-left: 0
|
||||
|
||||
.ps-scrollbar-y-rail
|
||||
pointer-event: all
|
||||
position: absolute;
|
||||
|
||||
.card-details-canvas
|
||||
width: 470px
|
||||
padding-left: 20px;
|
||||
|
||||
.card-details-header
|
||||
margin: 0 -20px 5px
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue