Skip to content

Commit

Permalink
Add a visible page border in HCM (bug 1776914)
Browse files Browse the repository at this point in the history
  • Loading branch information
calixteman committed Jun 29, 2022
1 parent f1d4015 commit 3e75167
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web/pdf_viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,18 @@
--pdfViewer-padding-bottom: 0;
--page-margin: 1px auto -8px;
--page-border: 9px solid transparent;
--page-border-image: url(images/shadow.png) 9 9 repeat;
--spreadHorizontalWrapped-margin-LR: -3.5px;
--scale-factor: 1;
}

@media screen and (forced-colors: active) {
:root {
--pdfViewer-padding-bottom: 9px;
--page-margin: 9px auto 0;
--page-border: none;
--spreadHorizontalWrapped-margin-LR: 4.5px;
--page-margin: 8px auto -1px;
--page-border: 1px solid CanvasText;
--page-border-image: none;
--spreadHorizontalWrapped-margin-LR: 3.5px;
}
}

Expand Down Expand Up @@ -61,8 +63,8 @@
position: relative;
overflow: visible;
border: var(--page-border);
border-image: var(--page-border-image);
background-clip: content-box;
border-image: url(images/shadow.png) 9 9 repeat;
background-color: rgba(255, 255, 255, 1);
}

Expand Down

0 comments on commit 3e75167

Please sign in to comment.