Skip to content

Commit 7185fd7

Browse files
committed
prevent panel from overflowing editor
1 parent c1226bf commit 7185fd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/code-editor/src/CodeEditor/hooks/extensions/useThemeExtension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export function useThemeExtension({
7676
borderBottomRightRadius: `${borderRadius[300]}px`,
7777
borderTopLeftRadius: hasPanel ? 0 : `${borderRadius[300]}px`,
7878
borderTopRightRadius: hasPanel ? 0 : `${borderRadius[300]}px`,
79+
overflow: 'hidden',
7980
color: color[theme].text[Variant.Primary][InteractionState.Default],
8081
},
8182

0 commit comments

Comments
 (0)