Merge pull request #2691 from notriddle/knurling
sidebar: use the same resize grip as rustdoc and playground
This commit is contained in:
commit
a8aee21cd0
1 changed files with 17 additions and 2 deletions
|
|
@ -474,9 +474,24 @@ html:not(.sidebar-resizing) .sidebar {
|
||||||
|
|
||||||
.sidebar-resize-handle .sidebar-resize-indicator {
|
.sidebar-resize-handle .sidebar-resize-indicator {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 12px;
|
height: 16px;
|
||||||
background-color: var(--icons);
|
color: var(--icons);
|
||||||
margin-inline-start: var(--sidebar-resize-indicator-space);
|
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 {
|
[dir=rtl] .sidebar .sidebar-resize-handle {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue