diff --git a/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue b/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue index 961e0a4e..ce7562e2 100644 --- a/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue +++ b/src/BIMDataComponents/BIMDataPDFViewer/BIMDataPDFViewer.vue @@ -1,74 +1,83 @@ @@ -79,23 +88,30 @@ export default { .pdf-viewer { width: 100%; height: 100%; - position: absolute; - left: 0; - top: 0; background-color: var(--color-white); overflow: hidden; - z-index: 2; + &__header { + height: 42px; display: flex; justify-content: center; align-items: center; - height: 42px; font-size: 12px; - &--text { - width: calc(100% - 32px); + + &--title { + width: 0; + flex-grow: 1; + display: flex; + justify-content: center; + padding: 0 var(--spacing-unit); } } + object { + height: 100%; + } + + &__header ~ object { height: calc(100% - 42px); } }