omkarenator commited on
Commit
eb884e6
1 Parent(s): 09bef6a

fix navbar

Browse files
Files changed (1) hide show
  1. style.css +2 -0
style.css CHANGED
@@ -198,6 +198,8 @@ d-contents a:hover {
198
  position: -webkit-sticky; /* For Safari */
199
  position: sticky;
200
  top: 10px; /* Adjust this value if needed */
 
 
201
  }
202
  }
203
 
 
198
  position: -webkit-sticky; /* For Safari */
199
  position: sticky;
200
  top: 10px; /* Adjust this value if needed */
201
+ height: calc(100vh - 10px); /* Full viewport height minus the top offset */
202
+ overflow-y: auto; /* Enable vertical scrolling when content overflows */
203
  }
204
  }
205