Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
sk66641 committed Jun 8, 2024
1 parent dcd537d commit e424156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ h1 {
}

.box {
min-height: 100vh;
/* min-height: 100vh; */

/*box was taking whole vh,20 margin from top and bottom, also became responsive through this, preventing them from overflowing */
max-width: calc(100% - 40px);
Expand Down Expand Up @@ -915,7 +915,7 @@ nav ul li a:hover {
}

.light-mode .box {
min-height: 100vh;
/* min-height: 100vh; */
/*box was taking whole vh,20 margin from top and bottom, also became responsive through this, preventing them from overflowing */
max-width: calc(100% - 40px);
/*box was taking whole vw gave them 20 margin from top and bottom also making its resposive and preventing from overflowing */
Expand Down

0 comments on commit e424156

Please sign in to comment.