Skip to content

Commit

Permalink
Remove the toggle from the scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
vedran-kasalica committed Sep 23, 2024
1 parent a86fe02 commit 0032efb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/explore/GenerationResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ const GenerationResults: React.FC<any> = observer((props) => {
!exploreDataStore.generationError &&
workflowSolutions.length > 0 && (
<div className="gap-8">
<div className="flex justify-center gap-8" style={{height: '540px'}}>
<div className="flex justify-center gap-8">
{/* List of solutions */}
<div className="text-left space-y-4 space-x-1 overflow-auto" style={{width: '35vw'}}>
<div className="text-left space-y-4 space-x-1" style={{width: '35vw'}}>
<div className="flex gap-2">
<span>
<b>Figures</b>
Expand All @@ -227,7 +227,7 @@ const GenerationResults: React.FC<any> = observer((props) => {
<b>Benchmarks</b>
</span>
</div>

<div className=" justify-center gap-8 overflow-auto" style={{height: '450px'}}>
<ul>
<li style={{ borderBottom: "1px solid black" }}>
<div className="flex items-center space-x-2">
Expand All @@ -240,7 +240,7 @@ const GenerationResults: React.FC<any> = observer((props) => {
}}
/>
</div>
</li>
</li>
{workflowSolutions.map(
(workflow: WorkflowSolution, index: number) => (
<li key={index}>
Expand Down Expand Up @@ -273,6 +273,7 @@ const GenerationResults: React.FC<any> = observer((props) => {
)
)}
</ul>
</div>
</div>

{/* Cards for selected solutions */}
Expand Down

0 comments on commit 0032efb

Please sign in to comment.