Skip to content

Commit

Permalink
[pdf file view] 'preparing document for printing' dialog: modified th…
Browse files Browse the repository at this point in the history
…e border & the backdrop
  • Loading branch information
llj committed Dec 16, 2024
1 parent 30ec2aa commit cb0adac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/pdf-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class PDFViewer extends React.Component {
<button id="documentPropertiesClose" className="dialogButton"><span data-l10n-id="document_properties_close">Close</span></button>
</div>
</dialog>
<dialog id="printServiceDialog" className="modal-dialog p-0">
<dialog id="printServiceDialog" className="modal-dialog p-0 rounded border-0 shadow-none">
<div className="modal-content">
<div className="modal-header">
<h5 className="modal-title">{gettext('Print document')}</h5>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/css/pdf-file-view.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ input#findInput {
border-radius: 5px;
}

.pdf-file-view dialog::backdrop {
background-color: rgba(0, 0, 0);
opacity: 0.5;
}

.pdfViewer .page {
position: relative;
background: #fff;
Expand Down

0 comments on commit cb0adac

Please sign in to comment.