1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-18 14:18:23 +02:00

Merge pull request #19799 from calixteman/bug1959774

[Editor] Fix the border line of the thickness slider in the signature modal while in HCM (bug 1959774)
This commit is contained in:
calixteman 2025-04-10 21:32:19 +02:00 committed by GitHub
commit 1d8af5fe68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,6 +163,7 @@
--thickness-bg: var(--dialog-bg-color);
--thickness-label-color: var(--primary-color);
--thickness-slider-color: var(--primary-color);
--thickness-border: none;
--draw-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
@media (prefers-color-scheme: dark) {
@ -219,6 +220,7 @@
--thickness-bg: Canvas;
--thickness-label-color: CanvasText;
--thickness-slider-color: ButtonText;
--thickness-border: 1px solid var(--border-color);
}
#addSignatureDialogLabel {
@ -410,12 +412,18 @@
align-items: center;
justify-content: center;
gap: 8px;
padding: 6px 8px;
padding: 6px 8px 7px;
margin: 0;
background-color: var(--thickness-bg);
border-radius: 4px 4px 0 0;
border-inline: var(--thickness-border);
border-top: var(--thickness-border);
pointer-events: auto;
/* Move the div in order to cover to bottom border of the area. */
position: relative;
top: 1px;
> label {
color: var(--thickness-label-color);
}