fix(ui): keep the arrow cursor on scrollbars (#1191)

Scroll containers set cursor: text, and the webview applies an element's cursor to its scrollbar, so scrollbars showed the I-beam. The containers now keep the arrow and the text inside them gets the I-beam: the editor (.cm-content instead of .cm-scroller, which also covers the diff and merge editors), the source preview, the Run, Build and Debugger consoles, the Git console, the Database output and the Services log.

Co-authored-by: ppxb <17081240+ppxb@users.noreply.github.com>
This commit is contained in:
ppxb
2026-11-04 23:10:23 +08:00
committed by GitHub
co-authored by ppxb
parent f942ea168d
commit a363544625
8 changed files with 17 additions and 8 deletions
@@ -238,7 +238,7 @@
white-space: pre-wrap;
word-break: break-word;
-webkit-user-select: text;
cursor: text;
cursor: default;
-webkit-user-select: text;
user-select: text;
outline: none;
@@ -248,6 +248,7 @@
.consoleInner {
position: relative;
width: 100%;
cursor: text;
}
.out {