Skip to content

Commit

Permalink
Improve dropdown display
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jun 20, 2023
1 parent b1c2a9a commit d1bc0cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions viser/client/src/ControlPanel/FloatingPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default function FloatingPanel({
top: "1em",
right: "1em",
margin: 0,
overflow: "auto",
"&.hidden": {
overflow: "hidden",
},
Expand All @@ -41,7 +40,6 @@ export default function FloatingPanel({
visibility: "hidden",
height: "0 !important",
border: "0",
overflow: "hidden",
position: "absolute",
},
"& .expand-icon": {
Expand Down Expand Up @@ -168,7 +166,6 @@ FloatingPanel.Handle = function FloatingPanelHandle({

return (
<Box
color="red"
sx={(theme) => ({
backgroundColor:
theme.colorScheme === "dark"
Expand Down
2 changes: 2 additions & 0 deletions viser/client/src/ControlPanel/Generated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ function GeneratedInput({ conf }: { conf: GuiConfig }) {
value={value}
data={conf.options}
onChange={updateValue}
searchable
maxDropdownHeight={400}
/>
);
break;
Expand Down

0 comments on commit d1bc0cd

Please sign in to comment.