Skip to content

Commit 1d8af5f

Browse files
authored
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)
2 parents 220a289 + 88d58f3 commit 1d8af5f

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

web/signature_manager.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
--thickness-bg: var(--dialog-bg-color);
164164
--thickness-label-color: var(--primary-color);
165165
--thickness-slider-color: var(--primary-color);
166+
--thickness-border: none;
166167
--draw-cursor: url(images/cursor-editorInk.svg) 0 16, pointer;
167168

168169
@media (prefers-color-scheme: dark) {
@@ -219,6 +220,7 @@
219220
--thickness-bg: Canvas;
220221
--thickness-label-color: CanvasText;
221222
--thickness-slider-color: ButtonText;
223+
--thickness-border: 1px solid var(--border-color);
222224
}
223225

224226
#addSignatureDialogLabel {
@@ -410,12 +412,18 @@
410412
align-items: center;
411413
justify-content: center;
412414
gap: 8px;
413-
padding: 6px 8px;
415+
padding: 6px 8px 7px;
414416
margin: 0;
415417
background-color: var(--thickness-bg);
416418
border-radius: 4px 4px 0 0;
419+
border-inline: var(--thickness-border);
420+
border-top: var(--thickness-border);
417421
pointer-events: auto;
418422

423+
/* Move the div in order to cover to bottom border of the area. */
424+
position: relative;
425+
top: 1px;
426+
419427
> label {
420428
color: var(--thickness-label-color);
421429
}

0 commit comments

Comments
 (0)