File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ a:hover {
37
37
.main {
38
38
min-height : 100vh ;
39
39
display : block;
40
- color : white !important ;
41
40
}
42
41
43
42
.nav__bar {
Original file line number Diff line number Diff line change @@ -20,8 +20,23 @@ export function setupPageFunctionality () {
20
20
}
21
21
}
22
22
23
+ let mouseMoveScrollEnabled = false
24
+ document . onmousemove = ( e ) => {
25
+ if ( e . clientX >= document . body . clientWidth - scrollBarWidth ) {
26
+ enableScrolling ( false )
27
+ mouseMoveScrollEnabled = true
28
+ } else {
29
+ if ( mouseMoveScrollEnabled ) {
30
+ enableScrolling ( true )
31
+ mouseMoveScrollEnabled = false
32
+ }
33
+ }
34
+ }
35
+
23
36
document . onmouseup = enableScrolling
24
37
38
+
39
+
25
40
const music = document . getElementById ( 'music' ) ;
26
41
if ( music ) {
27
42
music . volume = 0.2 ;
You can’t perform that action at this time.
0 commit comments