Skip to content

Commit a04a7f4

Browse files
committed
fix panel display
1 parent 2275c7e commit a04a7f4

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

packages/boxel-ui/addon/src/components/resizable-panel-group/index.gts

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export default class ResizablePanelGroup extends Component<Signature> {
161161
}
162162

163163
return htmlSafe(
164-
`flex: 0; flex-grow: ${flexGrow}; flex-shrink: 1; overflow: hidden; pointer-events: ${
164+
`flex: 0; flex-grow: ${flexGrow}; flex-shrink: 1; pointer-events: ${
165165
this.dragState !== null ? 'none' : undefined
166166
};`,
167167
);

packages/boxel-ui/addon/src/components/resizable-panel-group/panel.gts

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ export default class Panel extends Component<Signature> {
4949
>
5050
{{yield}}
5151
</div>
52+
<style scoped>
53+
.boxel-panel {
54+
overflow: hidden;
55+
}
56+
</style>
5257
</template>
5358

5459
element!: HTMLDivElement;

packages/host/app/components/operator-mode/submode-layout.gts

+5
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ export default class SubmodeLayout extends Component<Signature> {
327327
)
328328
}}
329329
<ResizablePanel
330+
class='ai-assistant-resizable-panel'
330331
@defaultSize={{this.aiPanelWidths.defaultWidth}}
331332
@minSize={{this.aiPanelWidths.minWidth}}
332333
@collapsible={{false}}
@@ -368,6 +369,10 @@ export default class SubmodeLayout extends Component<Signature> {
368369
width: 100%;
369370
}
370371
372+
.ai-assistant-resizable-panel {
373+
overflow: initial;
374+
}
375+
371376
.main-panel {
372377
position: relative;
373378
}

0 commit comments

Comments
 (0)