diff --git a/src/components/ImageDialog.vue b/src/components/ImageDialog.vue
index 2c6541fd3b3728f0156398cfa9da7f3fc8fff386..462139e4339e0a13c6bd204023a883b072d08767 100644
--- a/src/components/ImageDialog.vue
+++ b/src/components/ImageDialog.vue
@@ -2,7 +2,7 @@
   <q-dialog>
     <div class="column justify-center items-center content-center" >
       <q-btn icon="close" size="lg" class="absolute q-mt-md bg-secondary" style="top: 0px; z-index: 20000" text-color="primary" unelevated round v-close-popup />
-      <div class="absolute" style="margin: 10%; height: auto">
+      <div class="absolute" style="margin: 10%; height: auto" :style="$q.screen.lt.md ? 'margin: 0' : ''">
         <img class="full-height full-width" style="border-radius: 10px" :src="src" />
       </div>
     </div>