Skip to content

Commit

Permalink
Scroll fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nquangit committed May 7, 2024
1 parent 4c4c1b7 commit 088f13d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ body {
justify-content: center;
align-items: flex-end;
background-color: #1a1a1a;
height: 100vh;
overflow: auto;
}

#terminal {
border-radius: 0.5rem;
overflow: auto;
width: 830px;
min-width: 500px;
background-color: #1a1a1a!important;
Expand Down
3 changes: 0 additions & 3 deletions terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ window.addEventListener('resize', function () {
// Get current size
let currentWidth = window.innerWidth;
let currentHeight = window.innerHeight;
console.log(previousWidth, previousHeight);
console.log("Current size");
console.log(currentWidth, currentHeight);

let reload = false;
// Check if the window width is less than 800px
Expand Down

0 comments on commit 088f13d

Please sign in to comment.