Fix layout regression

This commit is contained in:
Timothy Farrell 2018-01-03 17:24:52 -06:00
parent de1735495f
commit dc94f1971b
3 changed files with 6 additions and 4 deletions

View File

@ -239,7 +239,8 @@ const uploadButton = styled(
const allImagesContainer = styled( const allImagesContainer = styled(
{ {
overflow: 'scroll' overflow: 'scroll',
marginTop: '58px'
}, },
FILL_STYLE FILL_STYLE
); );

View File

@ -4,7 +4,7 @@ import {
subscribeToRender, subscribeToRender,
defineView, defineView,
nodeParentWithType, nodeParentWithType,
availableViewportSize, fullViewportSize,
defineElement as el defineElement as el
} from '../utils/domvm.js'; } from '../utils/domvm.js';
@ -42,7 +42,7 @@ export function FocusView(vm, params, key, { appbar }) {
}; };
} }
}, },
[doc, availableViewportSize] [doc, fullViewportSize]
); );
function navBack() { function navBack() {

View File

@ -86,9 +86,10 @@ const container = styled(
const content = styled({ const content = styled({
position: 'absolute', position: 'absolute',
top: '58px', top: 0,
bottom: 0, bottom: 0,
left: 0, left: 0,
right: 0, right: 0,
display: 'flex',
['-webkit-transform']: 'translate3d(0,0,0);' // http://blog.getpostman.com/2015/01/23/ui-repaint-issue-on-chrome/ ['-webkit-transform']: 'translate3d(0,0,0);' // http://blog.getpostman.com/2015/01/23/ui-repaint-issue-on-chrome/
}); });