Skip to content

Commit e351214

Browse files
committed
Improve imageviewer
1 parent dda6905 commit e351214

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

data-browser/src/components/ImageViewer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ const ImageViewerStyled = styled.img<Props>`
2929
z-index: ${t => (t.showFull ? '100' : 'auto')};
3030
object-fit: contain;
3131
/* Depends on navbarheight */
32-
top: ${t => (t.showFull ? '2.5rem' : '0')};
32+
/* top: ${t => (t.showFull ? '2.5rem' : '0')}; */
33+
top: 0;
3334
left: 0;
3435
right: 0;
3536
bottom: 0;
37+
background-color: ${t => t.theme.colors.bg};
3638
`;

0 commit comments

Comments
 (0)