Remove scrollbars

This commit is contained in:
Greg Shuflin 2025-02-05 04:24:57 -08:00
parent 705929ee47
commit eb69f4e952
2 changed files with 13 additions and 2 deletions

View File

@ -5,6 +5,8 @@ body {
font-family: Arial, sans-serif;
background-color: var(--dark-bg);
color: var(--text-color);
height: 100vh;
overflow: hidden;
}
body.with-sidebar {
@ -14,11 +16,20 @@ body.with-sidebar {
.main-content-area {
flex: 1;
min-width: 0; /* Prevents flex item from overflowing */
display: flex;
flex-direction: column;
}
#main-content {
flex: 1;
padding: 1rem;
overflow-y: auto;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
}
#main-content::-webkit-scrollbar {
display: none; /* Chrome, Safari and Opera */
}
#main-content h1 {

View File

@ -2,10 +2,10 @@
.sidebar {
width: 250px;
background-color: var(--sidebar-bg);
min-height: 100vh;
height: 100vh;
padding: 20px;
box-shadow: 2px 0 5px rgba(0,0,0,0.3);
top: 3rem;
overflow-y: auto;
}
.sidebar h2 {