Skip to content

Commit

Permalink
Decrease the minimum panel sizes in FlightResponseSelector (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarlagerlof authored Jun 9, 2024
1 parent e155780 commit 800fced
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .changeset/plenty-pears-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@rsc-parser/core": patch
"@rsc-parser/embedded-example": patch
"@rsc-parser/chrome-extension": patch
"@rsc-parser/embedded": patch
"@rsc-parser/storybook": patch
"@rsc-parser/website": patch
---

Decrease the minimum panel sizes in `FlightResponseSelector`
4 changes: 2 additions & 2 deletions packages/core/src/components/FlightResponseSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function FlightResponseSelector({
}: ReturnType<typeof useFlightResponseSelector> & { children: ReactNode }) {
return (
<PanelGroup direction="horizontal">
<Panel id="sidebar" minSize={35} order={1} defaultSize={35}>
<Panel id="sidebar" minSize={20} order={1} defaultSize={35}>
<TabList store={tabStore} className="flex flex-col gap-1 pr-3">
{tabs.map((tab) => {
const fetchMethod = messages.find(
Expand Down Expand Up @@ -126,7 +126,7 @@ export function FlightResponseSelector({

<PanelResizeHandle className="w-1 rounded bg-slate-200 dark:bg-slate-800" />

<Panel order={2} minSize={30} className="">
<Panel order={2} minSize={20} className="">
<TabPanel
store={tabStore}
tabId={currentTab}
Expand Down

0 comments on commit 800fced

Please sign in to comment.