Merge pull request #2691 from notriddle/knurling

sidebar: use the same resize grip as rustdoc and playground
This commit is contained in:
Eric Huss 2025-05-10 18:25:55 +00:00 committed by GitHub
commit a8aee21cd0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -474,9 +474,24 @@ html:not(.sidebar-resizing) .sidebar {
.sidebar-resize-handle .sidebar-resize-indicator {
width: 100%;
height: 12px;
background-color: var(--icons);
height: 16px;
color: var(--icons);
margin-inline-start: var(--sidebar-resize-indicator-space);
display: flex;
align-items: center;
justify-content: flex-start;
}
.sidebar-resize-handle .sidebar-resize-indicator::before {
content: "";
width: 2px;
height: 12px;
border-left: dotted 2px currentColor;
}
.sidebar-resize-handle .sidebar-resize-indicator::after {
content: "";
width: 2px;
height: 16px;
border-left: dotted 2px currentColor;
}
[dir=rtl] .sidebar .sidebar-resize-handle {