Fix properties panel viewport overflow
Constrain main-content to 100vh and builder-wrapper to flex: 1 so the height chain propagates correctly and the properties panel scrolls within the viewport instead of extending off screen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
195c7d8b3b
commit
dc5148d1b8
1 changed files with 9 additions and 1 deletions
|
|
@ -8,10 +8,18 @@
|
||||||
<link rel="stylesheet" href="portal.css">
|
<link rel="stylesheet" href="portal.css">
|
||||||
<style>
|
<style>
|
||||||
/* Menu Builder Specific Styles */
|
/* Menu Builder Specific Styles */
|
||||||
|
.main-content {
|
||||||
|
height: 100vh;
|
||||||
|
max-height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.builder-wrapper {
|
.builder-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
flex: 1;
|
||||||
|
min-height: 0;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.builder-container {
|
.builder-container {
|
||||||
|
|
|
||||||
Reference in a new issue