Fix allImage vertical scrolling getting clipped
This commit is contained in:
parent
fd0bea1d84
commit
f9cb05aba1
@ -18,7 +18,7 @@ import { Icon } from './components/icon.js';
|
|||||||
import { AppBar } from './components/appbar.js';
|
import { AppBar } from './components/appbar.js';
|
||||||
import { Overlay } from './components/overlay.js';
|
import { Overlay } from './components/overlay.js';
|
||||||
import { injectStyle, styled } from '../services/style.js';
|
import { injectStyle, styled } from '../services/style.js';
|
||||||
import { CLICKABLE, FILL_STYLE } from './styles.js';
|
import { CLICKABLE } from './styles.js';
|
||||||
|
|
||||||
export function uploadImages(evt, files) {
|
export function uploadImages(evt, files) {
|
||||||
Array.from(files || evt.currentTarget.files).forEach(ImageType.upload);
|
Array.from(files || evt.currentTarget.files).forEach(ImageType.upload);
|
||||||
@ -256,10 +256,12 @@ const uploadButton = styled(
|
|||||||
CLICKABLE
|
CLICKABLE
|
||||||
);
|
);
|
||||||
|
|
||||||
const allImagesContainer = styled(FILL_STYLE);
|
const allImagesContainer = styled({
|
||||||
const allImagesContent = styled(
|
display: 'flex',
|
||||||
{
|
flexDirection: 'column',
|
||||||
overflow: 'scroll'
|
flex: 1
|
||||||
},
|
});
|
||||||
FILL_STYLE
|
const allImagesContent = styled({
|
||||||
);
|
overflowY: 'scroll',
|
||||||
|
flex: 1
|
||||||
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user