Skip to content

Commit

Permalink
Adjust page based redaction overlay for small-medium screens
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-ahmed42 committed Dec 25, 2024
1 parent b27a5bb commit 3d79461
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/main/resources/static/pdfjs-legacy/css/viewer-redact.css
Original file line number Diff line number Diff line change
Expand Up @@ -4948,6 +4948,40 @@ dialog :link {
#redactionsToolbarViewer {
order: 2;
}


#pageBasedRedactionOverlay > .bg-card {
padding: 1.5rem;
}

#pageBasedRedactionOverlay > .bg-card > div.tool-header {
display: flex;
column-gap: 10px;
}

#pageBasedRedactionOverlay > .bg-card > div.tool-header > span:nth-child(1) {
margin: auto;
height: 3.5rem;
width: 3.5rem;
border-radius: 15px;
font-size: 2.5rem;
}

#pageBasedRedactionOverlay > .bg-card > div.tool-header > span:nth-child(2) {
font-size: 1.5rem;
}

#pageBasedRedactionOverlay > .bg-card > div:nth-child(3) {
flex-direction: column;
row-gap: 3px;
}

#pageBasedRedactionOverlay > .bg-card > div:nth-child(3) > input {
width: 100%;
height: 30px;
margin-left: 0 !important;
flex: none;
}
}

@media (max-width: 510px) {
Expand Down

0 comments on commit 3d79461

Please sign in to comment.