From 037db071d42d4a7fdb8ed5cf88bc2c37fba4ae93 Mon Sep 17 00:00:00 2001
From: pacien
Date: Tue, 19 May 2020 21:04:50 +0200
Subject: viewer/css/global: factorise util classes

---
 viewer/src/components/LdPdfViewer.vue | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

(limited to 'viewer/src/components/LdPdfViewer.vue')

diff --git a/viewer/src/components/LdPdfViewer.vue b/viewer/src/components/LdPdfViewer.vue
index 78ff3d2..20055cc 100644
--- a/viewer/src/components/LdPdfViewer.vue
+++ b/viewer/src/components/LdPdfViewer.vue
@@ -20,9 +20,9 @@
 
 <template>
   <!-- intermediate container necessary to eliminate the double scrollbar -->
-  <div :class="$style.container">
+  <div class="fill no-scroll">
     <!-- prefer native browser PDF viewer if available -->
-    <object :class="$style.content" :data="itemResourceUrl()" type="application/pdf">
+    <object class="fill" :data="itemResourceUrl()" type="application/pdf">
       <!-- TODO: fallback to PDF.js (https://github.com/pacien/ldgallery/issues/212) -->
       <ld-download :item="pdfItem" />
     </object>
@@ -42,9 +42,5 @@ import { Component, Prop, Vue } from "vue-property-decorator";
 </script>
 
 <style lang="scss" module>
-.container, .content {
-  width: 100%;
-  height: 100%;
-  overflow: hidden;
-}
+
 </style>
-- 
cgit v1.2.3

