Skip to content

Commit 0c7e99e

Browse files
committed
Fix horizontal scroll on medium-width viewports
Changed grid layout to xl breakpoint and reduced sidebar minimum width to prevent overflow when sidebar is visible but viewport is constrained.
1 parent e3d8062 commit 0c7e99e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/src/components/WorkflowContent.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ onMounted(() => {
208208

209209
<div class="mb-6">
210210
<h4 class="text-lg font-medium mb-2">Step 2: Choose how to run</h4>
211-
<div class="grid md:grid-cols-2 gap-6">
211+
<div class="grid xl:grid-cols-2 gap-6">
212212
<div class="border border-gray-300 rounded-lg p-4">
213213
<h5 class="font-bold mb-2">Run with your own data</h5>
214214
<p class="text-sm mb-4">
@@ -315,7 +315,7 @@ onMounted(() => {
315315
</div>
316316

317317
<!-- Right sidebar -->
318-
<div class="lg:w-1/4 min-w-80">
318+
<div class="lg:w-1/4 lg:min-w-64">
319319
<div class="sticky top-4 bg-white border border-gray-200 rounded-lg p-6">
320320
<h2 class="font-bold text-xl mb-4">{{ workflow.definition.name }}</h2>
321321
<p class="mb-4 text-gray-700">{{ workflow.definition.annotation }}</p>

0 commit comments

Comments
 (0)