Skip to content

Commit

Permalink
Merge pull request #102 from TaTo30/fix/some-issues
Browse files Browse the repository at this point in the history
fixed the style.css export by declare it directly and removed the overflow: hidden from the container's styles
  • Loading branch information
TaTo30 authored Mar 27, 2024
2 parents e16661b + 75726c3 commit 408018e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tato30/vue-pdf",
"version": "1.9.5",
"version": "1.9.6",
"description": "PDF component for Vue 3",
"author": {
"name": "Aldo Hernandez",
Expand All @@ -26,7 +26,7 @@
"import": "./dist/index.mjs",
"types": "./dist/types/index.d.ts"
},
"./*.css": "./dist/*.css",
"./style.css": "./dist/style.css",
"./src/*": "./src/*"
},
"main": "./dist/index.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/VuePDF.vue
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ defineExpose({
</script>

<template>
<div ref="container" style="position: relative; display: block; overflow: hidden;">
<div ref="container" style="position: relative; display: block;">
<canvas dir="ltr" style="display: block" role="main" />
<AnnotationLayer
v-if="annotationLayer"
Expand Down

0 comments on commit 408018e

Please sign in to comment.