Skip to content

Commit

Permalink
Merge pull request #20817 from allroundexperts/fix-20098
Browse files Browse the repository at this point in the history
feat: update react-pdf to v6
  • Loading branch information
puneetlath authored Jun 21, 2023
2 parents ced5e4e + a70211c commit ff2502e
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 59 deletions.
1 change: 1 addition & 0 deletions assets/css/pdf.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import './AnnotationLayer.css';
@import './TextLayer.css';

.react-pdf__Page {
direction: ltr;
Expand Down
1 change: 1 addition & 0 deletions config/webpack/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const webpackConfig = ({envFile = '.env', platform = 'web'}) => ({
{from: 'assets/css', to: 'css'},
{from: 'assets/fonts/web', to: 'fonts'},
{from: 'node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css', to: 'css/AnnotationLayer.css'},
{from: 'node_modules/react-pdf/dist/esm/Page/TextLayer.css', to: 'css/TextLayer.css'},
{from: 'assets/images/shadow.png', to: 'images/shadow.png'},
{from: '.well-known/apple-app-site-association', to: '.well-known/apple-app-site-association', toType: 'file'},
{from: '.well-known/assetlinks.json', to: '.well-known/assetlinks.json'},
Expand Down
Loading

0 comments on commit ff2502e

Please sign in to comment.