Fix properties panel overflow and make header sticky
Properties panel was extending off screen due to missing min-height: 0 on flex containers. Made Properties header sticky so it floats as you scroll through long modifier lists. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2bcdcbbed7
commit
195c7d8b3b
1 changed files with 8 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
.builder-container {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
gap: 16px;
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
|
@ -468,6 +469,7 @@
|
|||
/* Properties Panel */
|
||||
.builder-properties {
|
||||
width: 320px;
|
||||
min-height: 0;
|
||||
background: #fff;
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--shadow);
|
||||
|
|
@ -479,6 +481,12 @@
|
|||
}
|
||||
|
||||
.properties-header {
|
||||
position: sticky;
|
||||
top: -16px;
|
||||
margin: -16px -16px 0 -16px;
|
||||
padding: 16px;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
|
|
|||
Reference in a new issue