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 { Overlay } from './components/overlay.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) {
|
||||
Array.from(files || evt.currentTarget.files).forEach(ImageType.upload);
|
||||
@ -256,10 +256,12 @@ const uploadButton = styled(
|
||||
CLICKABLE
|
||||
);
|
||||
|
||||
const allImagesContainer = styled(FILL_STYLE);
|
||||
const allImagesContent = styled(
|
||||
{
|
||||
overflow: 'scroll'
|
||||
},
|
||||
FILL_STYLE
|
||||
);
|
||||
const allImagesContainer = styled({
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
flex: 1
|
||||
});
|
||||
const allImagesContent = styled({
|
||||
overflowY: 'scroll',
|
||||
flex: 1
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user