diff --git a/src/vpu-pdf-preview.js b/src/vpu-pdf-preview.js
index 90932341f125651978ca7c3d335a07f539f967b3..bb5a1c96aafec39150112870ece3640f6469801d 100644
--- a/src/vpu-pdf-preview.js
+++ b/src/vpu-pdf-preview.js
@@ -80,6 +80,10 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) {
                 }
             });
 
+            // redraw page if window was resized
+            window.onresize = async () => {
+                await that.showPage(that.currentPage);
+            };
         });
     }
 
@@ -110,6 +114,10 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) {
 
             // show the first page
             await this.showPage(1);
+
+            // fix width adaption
+            await this.showPage(1);
+
             this.isPageLoaded = true;
         };
 
@@ -185,6 +193,13 @@ export class PdfPreview extends ScopedElementsMixin(VPULitElement) {
                 justify-content: center;
             }
 
+            /* it's too risky to adapt the height */
+            /*
+            #pdf-meta button, #pdf-meta input {
+                max-height: 15px;
+            }
+            */
+
             canvas {
                 border: solid 1px black;
             }
diff --git a/src/vpu-qualified-signature-pdf-upload.js b/src/vpu-qualified-signature-pdf-upload.js
index 005dc741e1f53830b07ab456296aaeea7953b09e..d812d0aa7a8371b093adc81d73e5802940425f58 100644
--- a/src/vpu-qualified-signature-pdf-upload.js
+++ b/src/vpu-qualified-signature-pdf-upload.js
@@ -545,7 +545,7 @@ class QualifiedSignaturePdfUpload extends ScopedElementsMixin(VPUSignatureLitEle
                         <vpu-button id="zip-download-button" value="${i18n.t('qualified-pdf-upload.download-zip-button')}" title="${i18n.t('qualified-pdf-upload.download-zip-button-tooltip')}" @click="${this.zipDownloadClickHandler}" type="is-primary"></vpu-button>
                     </div>
                 </div>
-                <div>
+                <div class="field">
                     <vpu-pdf-preview></vpu-pdf-preview>
                 </div>
                 <div class="files-block error-files field ${classMap({hidden: this.errorFilesCount === 0})}">