scroll is working natively, remains to find a good js scroll. fix #12
This commit is contained in:
@@ -243,9 +243,14 @@ edlp_vars = {
|
||||
// |___/\__|_| \___/_|_|___/\__,_|_| /__/
|
||||
function initScrollbars(){
|
||||
console.log("initScrollbars");
|
||||
$('.os-scroll').overlayScrollbars({
|
||||
overflowBehavior:{x:'h',y:'scroll'}
|
||||
});
|
||||
// TODO: find a better js scroll than overlayScrollbars which does not handle well max-height + overflow-y:auto;
|
||||
// $('.os-scroll').overlayScrollbars({
|
||||
// overflowBehavior:{
|
||||
// x:'h',
|
||||
// y:'scroll',
|
||||
// clipAlways:false
|
||||
// }
|
||||
// });
|
||||
};
|
||||
|
||||
// _ _
|
||||
|
||||
@@ -1164,7 +1164,7 @@ header[role="banner"] {
|
||||
|
||||
#block-mainnavigation {
|
||||
float: right;
|
||||
margin-top: 30px; }
|
||||
margin-top: 25px; }
|
||||
#block-mainnavigation ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -1211,7 +1211,7 @@ header[role="banner"] {
|
||||
|
||||
.block-language {
|
||||
float: right;
|
||||
margin-top: 29px;
|
||||
margin-top: 24px;
|
||||
margin-left: 2em; }
|
||||
.block-language ul {
|
||||
margin: 0;
|
||||
@@ -1255,8 +1255,9 @@ main[role="main"] .layout-content {
|
||||
border-top: 1px solid red;
|
||||
border-bottom: 1px solid red;
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
padding: 0 0 1em;
|
||||
max-height: 100%;
|
||||
padding: 0 0 1em; }
|
||||
overflow-y: auto; }
|
||||
main[role="main"] .layout-content .row .col > .wrapper > * {
|
||||
padding: 0 1em; }
|
||||
main[role="main"] .layout-content .field.text-formatted a.audio-link {
|
||||
|
||||
Reference in New Issue
Block a user