Skip to content

Commit 9b6c872

Browse files
committed
Change overflow from scroll to auto for live editor properties and slots
1 parent 115eba3 commit 9b6c872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/src/components/LiveEditorCompact.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export function LiveEditorCompact(props: Props) {
102102
<KolHeading _level={3} _label="Konfigurator" />
103103
<div>
104104
<KolHeading _level={4} _label="Properties" />
105-
<div className="max-h-96 p-2 overflow-scroll mb-4">
105+
<div className="max-h-96 p-2 overflow-auto mb-4">
106106
{element &&
107107
element.attributes.map((attribute: Attribute) => (
108108
<>
@@ -121,7 +121,7 @@ export function LiveEditorCompact(props: Props) {
121121
)}
122122
</div>
123123
<KolHeading _level={4} _label="Slots" />
124-
<div className="max-h-56 p-2 overflow-scroll">
124+
<div className="max-h-56 p-2 overflow-auto">
125125
{element &&
126126
element.slots.map((slot: Slot) => (
127127
<SlotInput

0 commit comments

Comments
 (0)