Skip to content

Commit

Permalink
More compact param panel, vertical scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam authored and sgenoud committed Jan 3, 2024
1 parent 963892c commit e758082
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/studio/src/components/FloatingInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export const InfoTopRight = styled.div`
max-width: 300px;
padding: 10px;
border-radius: 10px;
height: auto;
max-height: calc(100% - 5em);
overflow-y: auto;
${(props) =>
props.noBg ? "" : `background-color: white; border: 1px solid lightgrey;`}
Expand Down
4 changes: 3 additions & 1 deletion packages/studio/src/visualiser/editor/ParamsEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default observer(function ParamsEditor({
fill
flat
hideCopyButton
oneLineLabels
titleBar={false}
hidden={hidden}
theme={{
Expand All @@ -65,6 +64,9 @@ export default observer(function ParamsEditor({

vivid1: "red",
},
sizes: {
controlWidth: "80px"
}
}}
/>
);
Expand Down

0 comments on commit e758082

Please sign in to comment.