Remove GPU enablement

It is unsure why this was ever needed, but it appears to fix the overflow issues with the sortable plugin

Refs https://github.com/rainlab/pages-plugin/issues/384
Refs 11be3fede3
This commit is contained in:
Samuel Georges 2019-12-13 21:44:37 +11:00
parent ed2eec6afb
commit 0a98afbff8
3 changed files with 2 additions and 10 deletions

View File

@ -115,8 +115,7 @@
.control-simplelist.is-selectable-box li a:hover .image >i {color:rgba(0,0,0,0.45)}
.list-preview .control-simplelist.is-selectable ul {margin-bottom:0}
.drag-noselect {-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
.control-scrollbar {position:relative;overflow:hidden;height:100%;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}
.control-scrollbar >div {-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}
.control-scrollbar {position:relative;overflow:hidden;height:100%}
.control-scrollbar >.scrollbar-scrollbar {position:absolute;z-index:100}
.control-scrollbar >.scrollbar-scrollbar .scrollbar-track {background-color:transparent;position:relative;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}
.control-scrollbar >.scrollbar-scrollbar .scrollbar-track .scrollbar-thumb {background-color:rgba(0,0,0,0.35);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;cursor:pointer;overflow:hidden;position:absolute}

View File

@ -317,7 +317,6 @@
this.$el.children('ol').each(function() {
var sortable = $(this).data('oc.sortable')
sortable.refresh()
sortable.cursorAdjustment.top += changed // Keep cursor adjustment in sync with scroll
});
@ -372,7 +371,6 @@
this.$el.children('ol').each(function() {
var sortable = $(this).data('oc.sortable')
sortable.refresh()
sortable.cursorAdjustment.top -= changed // Keep cursor adjustment in sync with scroll
});

View File

@ -12,11 +12,6 @@
position: relative;
overflow: hidden;
height: 100%;
.transform( ~'translateZ(0)');
> div {
.transform( ~'translateZ(0)');
}
>.scrollbar-scrollbar {
position: absolute;
@ -127,4 +122,4 @@ html.mobile {
}
}
}
}
}