Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit f4665da

Browse files
author
Fergus Yip
committed
Hide scrollbar
1 parent 9f7596e commit f4665da

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎styles.css‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,15 @@ body {
134134
height: 100%;
135135
overflow: scroll;
136136
padding: 0em 1.5em;
137+
138+
/* Hide scrollbar for IE, Edge and Firefox */
139+
-ms-overflow-style: none;
140+
scrollbar-width: none
141+
}
142+
143+
/* Hide scrollbar for Chrome, Safari and Opera */
144+
#terminal-content::-webkit-scrollbar {
145+
display: none;
137146
}
138147

139148
#terminal-content p {
@@ -157,6 +166,7 @@ body {
157166
font-family: var(--fontFamily);
158167
font-size: var(--fontSize);
159168
}
169+
160170
#prompt-input:focus {
161171
outline: none;
162172
}
@@ -264,4 +274,4 @@ body {
264274
bottom: 0px;
265275
right: 0px;
266276
text-decoration: none;
267-
}
277+
}

0 commit comments

Comments
 (0)