Skip to content

Commit a8aee21

Browse files
authored
Merge pull request #2691 from notriddle/knurling
sidebar: use the same resize grip as rustdoc and playground
2 parents 785ee56 + 649a021 commit a8aee21

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

src/front-end/css/chrome.css

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,24 @@ html:not(.sidebar-resizing) .sidebar {
474474

475475
.sidebar-resize-handle .sidebar-resize-indicator {
476476
width: 100%;
477-
height: 12px;
478-
background-color: var(--icons);
477+
height: 16px;
478+
color: var(--icons);
479479
margin-inline-start: var(--sidebar-resize-indicator-space);
480+
display: flex;
481+
align-items: center;
482+
justify-content: flex-start;
483+
}
484+
.sidebar-resize-handle .sidebar-resize-indicator::before {
485+
content: "";
486+
width: 2px;
487+
height: 12px;
488+
border-left: dotted 2px currentColor;
489+
}
490+
.sidebar-resize-handle .sidebar-resize-indicator::after {
491+
content: "";
492+
width: 2px;
493+
height: 16px;
494+
border-left: dotted 2px currentColor;
480495
}
481496

482497
[dir=rtl] .sidebar .sidebar-resize-handle {

0 commit comments

Comments
 (0)