Skip to content

Commit 500ba21

Browse files
committed
Improve scrollbar
1 parent 62ebf9a commit 500ba21

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

src/Files.App/Utils/Terminal/UI/Build/src/style.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,15 @@ html, body {
1313
#terminal-container {
1414
width: 100%;
1515
height: 100%;
16-
/* re-enable scrolling only in the xterm container */
17-
overflow-y: auto;
18-
overflow-x: hidden;
19-
touch-action: pan-y;
20-
-ms-touch-action: pan-y;
21-
}
22-
23-
#terminal-container::-webkit-scrollbar {
24-
display: none
2516
}
2617

2718
.xterm .xterm-viewport {
2819
background-color: transparent !important;
20+
width: 100% !important;
21+
height: 100% !important;
22+
overflow-y: auto !important;
23+
touch-action: pan-y;
24+
-ms-touch-action: pan-y;
2925
}
3026

3127
.terminal {

src/Files.App/Utils/Terminal/UI/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Files.App/Utils/Terminal/UI/style.css

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,15 @@ html, body {
1313
#terminal-container {
1414
width: 100%;
1515
height: 100%;
16-
/* re-enable scrolling only in the xterm container */
17-
overflow-y: auto;
18-
overflow-x: hidden;
19-
touch-action: pan-y;
20-
-ms-touch-action: pan-y;
21-
}
22-
23-
#terminal-container::-webkit-scrollbar {
24-
display: none
2516
}
2617

2718
.xterm .xterm-viewport {
2819
background-color: transparent !important;
20+
width: 100% !important;
21+
height: 100% !important;
22+
overflow-y: auto !important;
23+
touch-action: pan-y;
24+
-ms-touch-action: pan-y;
2925
}
3026

3127
.terminal {

0 commit comments

Comments
 (0)