Fix Appbar shadow lingering when all photos deleted

This commit is contained in:
Timothy Farrell 2018-01-18 14:09:01 -06:00
parent 0e25f943fe
commit acb47a0b12

View File

@ -61,7 +61,7 @@ export function AllImagesView(vm, params) {
(t, s) => ({ (t, s) => ({
width: 'inherit', width: 'inherit',
marginRight: '40px', marginRight: '40px',
boxShadow: t === 0 || s.length === 0 ? 'none' : `0px 3px 3px rgba(0, 0, 0, .2)` boxShadow: t === 0 || s.length === 0 ? 'none' : `-3px 3px 3px rgba(0, 0, 0, .2)`
}), }),
[containerScrollTop, sections] [containerScrollTop, sections]
); );