diff --git a/components/FilePreviewModal.vue b/components/FilePreviewModal.vue
index 269579f..b2e12ba 100644
--- a/components/FilePreviewModal.vue
+++ b/components/FilePreviewModal.vue
@@ -50,11 +50,12 @@
-
@@ -255,5 +256,28 @@ onUnmounted(() => {
width: 100%;
height: 70vh;
overflow: hidden;
+ position: relative;
+}
+
+.pdf-iframe {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
+ overflow: auto;
+}
+
+/* Mobile-specific adjustments */
+@media (max-width: 600px) {
+ .pdf-preview-container {
+ height: 60vh; /* Slightly smaller on mobile for better UX */
+ }
+
+ .image-preview-container {
+ min-height: 300px;
+ max-height: 60vh;
+ }
}