mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user