Fix layout regression
This commit is contained in:
parent
de1735495f
commit
dc94f1971b
@ -239,7 +239,8 @@ const uploadButton = styled(
|
||||
|
||||
const allImagesContainer = styled(
|
||||
{
|
||||
overflow: 'scroll'
|
||||
overflow: 'scroll',
|
||||
marginTop: '58px'
|
||||
},
|
||||
FILL_STYLE
|
||||
);
|
||||
|
||||
@ -4,7 +4,7 @@ import {
|
||||
subscribeToRender,
|
||||
defineView,
|
||||
nodeParentWithType,
|
||||
availableViewportSize,
|
||||
fullViewportSize,
|
||||
defineElement as el
|
||||
} from '../utils/domvm.js';
|
||||
|
||||
@ -42,7 +42,7 @@ export function FocusView(vm, params, key, { appbar }) {
|
||||
};
|
||||
}
|
||||
},
|
||||
[doc, availableViewportSize]
|
||||
[doc, fullViewportSize]
|
||||
);
|
||||
|
||||
function navBack() {
|
||||
|
||||
@ -86,9 +86,10 @@ const container = styled(
|
||||
|
||||
const content = styled({
|
||||
position: 'absolute',
|
||||
top: '58px',
|
||||
top: 0,
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
display: 'flex',
|
||||
['-webkit-transform']: 'translate3d(0,0,0);' // http://blog.getpostman.com/2015/01/23/ui-repaint-issue-on-chrome/
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user