forked from matrix/element-web
improve horizontal flexing of timeline
This commit is contained in:
parent
201caed773
commit
5d962e1feb
|
@ -15,6 +15,8 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
/* hack to stop overscroll bounce on OSX and iOS.
|
||||||
|
N.B. Breaks things when we have legitimate horizontal overscroll */
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,9 @@ limitations under the License.
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
background-color: #f3f8fa;
|
background-color: #f3f8fa;
|
||||||
width: 100%;
|
|
||||||
|
-webkit-flex: 1;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
/* XXX: Hack: apparently if you try to nest a flex-box
|
/* XXX: Hack: apparently if you try to nest a flex-box
|
||||||
* within a non-flex-box within a flex-box, the height
|
* within a non-flex-box within a flex-box, the height
|
||||||
|
|
Loading…
Reference in New Issue