Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/fix/RunFrameForCli-full-viewport #194

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
14 changes: 7 additions & 7 deletions lib/components/CircuitJsonPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-hidden",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary fallback={<div>Error loading PCB viewer</div>}>
Expand All @@ -296,7 +296,7 @@ export const CircuitJsonPreview = ({
"rf-h-full rf-w-full",
isFullScreen
? "rf-min-h-[calc(100vh-240px)]"
: "rf-min-h-[620px]",
: "rf-min-h-[840px]",
)}
// onEditEventsChanged={(editEvents) => {
// if (editEvents.some((editEvent) => editEvent.in_progress))
Expand All @@ -323,7 +323,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-auto",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary fallback={<div>Error loading Assembly</div>}>
Expand All @@ -346,7 +346,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-auto",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary fallback={<div>Error loading Schematic</div>}>
Expand All @@ -372,7 +372,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-auto",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary FallbackComponent={ErrorFallback}>
Expand All @@ -389,7 +389,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-auto",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary fallback={<div>Error loading BOM</div>}>
Expand All @@ -405,7 +405,7 @@ export const CircuitJsonPreview = ({
<div
className={cn(
"rf-overflow-auto",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[620px]",
isFullScreen ? "rf-h-[calc(100vh-96px)]" : "rf-h-[840px]",
)}
>
<ErrorBoundary fallback={<div>Error loading JSON viewer</div>}>
Expand Down