mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-09 00:00:41 +03:00
overflow setting was forcing a border, auto eliminates that and appears to not create bad scrolling behavior on mobile
This commit is contained in:
parent
4fadfdbfe8
commit
bd8145b5d7
|
@ -43,13 +43,13 @@
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
//-ms-flex: 0 1 auto; // Fix IE10 bug.
|
//-ms-flex: 0 1 auto; // Fix IE10 bug.
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll; // mobile webkit smooth scrolling
|
overflow-y: auto; // mobile webkit smooth scrolling may need scroll, but auto seems to be working and omits the scroll border
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
-webkit-overflow-scrolling: touch; // mobile webkit smooth scrolling
|
-webkit-overflow-scrolling: touch; // mobile webkit smooth scrolling
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pushes content to the other end
|
// Pushes flex-based content to the other end (x or y)
|
||||||
.mdb-layout-spacer {
|
.mdb-layout-spacer {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user