body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; height: 100%; margin: 0; padding: 0; scrollbar-gutter: stable; overflow: hidden; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; } #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 - ); /* Adjust based on your fixed elements */ }