Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-image-viewer-header-small-screens.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
default: patch
---

Fix the image viewer header not being fully visible on smaller phone screens.
6 changes: 6 additions & 0 deletions src/app/components/Pdf-viewer/PdfViewer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export const PdfViewerHeader = style([
borderBottomWidth: config.borderWidth.B300,
flexShrink: 0,
gap: config.space.S200,
flexWrap: 'wrap',
justifyContent: 'center',
height: 'auto',
minHeight: config.space.S400,
paddingTop: config.space.S100,
paddingBottom: config.space.S100,
},
]);
export const PdfViewerFooter = style([
Expand Down
6 changes: 6 additions & 0 deletions src/app/components/image-viewer/ImageViewer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export const ImageViewerHeader = style([
borderBottomWidth: config.borderWidth.B300,
flexShrink: 0,
gap: config.space.S200,
flexWrap: 'wrap',
justifyContent: 'center',
height: 'auto',
minHeight: config.space.S400,
paddingTop: config.space.S100,
paddingBottom: config.space.S100,
},
]);

Expand Down
6 changes: 6 additions & 0 deletions src/app/components/text-viewer/TextViewer.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export const TextViewerHeader = style([
borderBottomWidth: config.borderWidth.B300,
flexShrink: 0,
gap: config.space.S200,
flexWrap: 'wrap',
justifyContent: 'center',
height: 'auto',
minHeight: config.space.S400,
paddingTop: config.space.S100,
paddingBottom: config.space.S100,
},
]);

Expand Down
Loading