feat: styles for browser window scrolling

This commit is contained in:
karishmas6
2024-10-18 19:08:28 +05:30
parent 4b9596f582
commit 9915379ef5

View File

@@ -18,6 +18,19 @@ code {
monospace;
}
html {
overflow-y:scroll;
#browser-content {
height: 100vh; /* Ensure it takes the full viewport height */
display: flex;
flex-direction: column; /* Stack children vertically */
}
.right-side-panel {
overflow-y: auto; /* Enable vertical scrolling */
height: 100%; /* Full height of its parent */
}
#browser-window {
overflow-y: auto; /* Allow vertical scrolling within this component */
height: 100%; /* Set to 100% of parent height */
max-height: calc(100vh - <height_of_fixed_elements>); /* Adjust based on your fixed elements */
}