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'] {
203203 margin-left : 0 ;
204204 color : # 444444 ;
205205 font-size : 1.2em ;
206- cursor : col-resize;
206+ cursor : default; /* cursor is set to ' col-resize' using JS */
207207 padding-top : 1px ;
208208 float : none;
209209 display : table;
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ const initialiseSidebar = () => {
5757 sidebarbutton.tabindex = "0" // make it focusable
5858 sidebarbutton.role = "slider"
5959 sidebarbutton.title = _("Resize sidebar")
60+ sidebarbutton.style.cursor = "col-resize" // Set the cursor only if JS is enabled
6061 sidebarbutton.setAttribute("aria-label", _("Resize sidebar by dragging"))
6162 sidebarbutton.setAttribute(
6263 "aria-valuetext",
You can’t perform that action at this time.
0 commit comments