Skip to content

Commit

Permalink
fix(documents): Fix specificity issues with page styles in webapp (#1208
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jstoffan authored May 13, 2020
1 parent 213f46d commit 19675be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/viewers/doc/_docBase.scss
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,15 @@ $thumbnail-sidebar-width: 226px;
//---------- Override CSS from generic PDFJS viewer build ----------//
.pdfViewer .page {
position: relative;
display: block;
/* stylelint-disable declaration-no-important */
box-sizing: content-box !important;
/* stylelint-enable declaration-no-important */
margin: 0 auto;
// We use padding instead of margin to push down since we want to
// include this padding when PDF.js jumps to pages
padding: 15px 0;
overflow: visible;
border: 0;
border-image: none;

Expand Down

0 comments on commit 19675be

Please sign in to comment.