Skip to content

Commit 772f2ec

Browse files
committed
Fix code block overflow - constrain width to enable horizontal scrolling
1 parent 0c7e99e commit 772f2ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/src/components/CodeBlock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function copyToClipboard() {
2323
</script>
2424

2525
<template>
26-
<div class="relative group">
26+
<div class="relative group max-w-full">
2727
<button
2828
@click="copyToClipboard"
2929
class="absolute right-2 top-2 z-10 flex items-center gap-1.5 px-2.5 py-1.5 text-xs text-white border border-gray-500 rounded bg-transparent hover:bg-gray-700/50 transition-colors"

website/src/components/WorkflowContent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ onMounted(() => {
163163
<template>
164164
<div class="flex flex-col lg:flex-row gap-6">
165165
<!-- Main content area -->
166-
<div class="flex-1">
166+
<div class="flex-1 min-w-0">
167167
<div class="p-4 mb-6">
168168
<Tabs v-model="currentTab" @update:modelValue="onTabChange">
169169
<!-- Tab List -->

0 commit comments

Comments
 (0)