File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ div.sphinxsidebar input[type='text'] {
203
203
margin-left : 0 ;
204
204
color : # 444444 ;
205
205
font-size : 1.2em ;
206
- cursor : col-resize;
206
+ cursor : default; /* cursor is set to ' col-resize' using JS */
207
207
padding-top : 1px ;
208
208
float : none;
209
209
display : table;
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ const initialiseSidebar = () => {
57
57
sidebarbutton.tabindex = "0" // make it focusable
58
58
sidebarbutton.role = "slider"
59
59
sidebarbutton.title = _("Resize sidebar")
60
+ sidebarbutton.style.cursor = "col-resize" // Set the cursor only if JS is enabled
60
61
sidebarbutton.setAttribute("aria-label", _("Resize sidebar by dragging"))
61
62
sidebarbutton.setAttribute(
62
63
"aria-valuetext",
You can’t perform that action at this time.
0 commit comments