improve horizontal flexing of timeline

This commit is contained in:
Matthew Hodgson 2015-10-11 18:04:01 +01:00
parent 201caed773
commit 5d962e1feb
2 changed files with 5 additions and 1 deletions

View File

@ -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;
} }

View File

@ -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