Skip to content

Commit 0cfeb55

Browse files
authored
Fix More Instances of Tailwind Linting (#1435)
## Description <!-- Please provide a brief description of the changes made in this pull request. Include any relevant context or reasoning for the changes. --> idk how I keep finding more of these :/ ## Related Issue and Pull requests <!-- Link to any related issues using the format #<issue-number> --> ## Type of Change <!-- Please delete options that are not relevant --> - [x] Cleanup/Refactor ## Checklist <!-- Please ensure the following are completed before submitting the PR --> - [ ] I have tested this does not break current pipelines / runs functionality - [ ] I have tested the changes on staging ## Screenshots (if applicable) <!-- Include any screenshots that might help explain the changes or provide visual context --> ## Test Instructions <!-- Detail steps and prerequisites for testing the changes in this PR --> ## Additional Comments <!-- Add any additional context or information that reviewers might need to know regarding this PR -->
1 parent 96dcbf7 commit 0cfeb55

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/components/shared/ReactFlow/FlowCanvas/ConfirmationDialogs/ReplaceConfirmation.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export function getReplaceConfirmationDetails(
4141
)}
4242
/>
4343
</TooltipTrigger>
44-
<TooltipContent className="z-[9999]">
44+
<TooltipContent className="z-9999">
4545
Linked node will be disconnected
4646
</TooltipContent>
4747
</Tooltip>
4848
<div className="flex items-baseline flex-wrap">
49-
<span className="font-bold break-words">{input.name}</span>
50-
<span className="font-light break-words ml-1">{`(${input.type})`}</span>
49+
<span className="font-bold wrap-break-word">{input.name}</span>
50+
<span className="font-light wrap-break-word ml-1">{`(${input.type})`}</span>
5151
<span className="shrink-0">:</span>
5252
<div className="break-all text-wrap overflow-hidden ml-1">
5353
{argument.value}

src/components/shared/ReactFlow/FlowCanvas/TaskNode/TaskOverview/IOSection/IOCell/IOCodeViewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const IOCodeViewer = ({ title, value }: IOCodeViewerProps) => {
1515

1616
if (!isValidJson) {
1717
return (
18-
<pre className="w-full font-mono text-xs whitespace-pre-line break-words">
18+
<pre className="w-full font-mono text-xs whitespace-pre-line wrap-break-word">
1919
{value || "No value"}
2020
</pre>
2121
);

src/components/shared/TaskDetails/Details.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const TaskDetails = ({
149149
<div className="shrink-0 font-medium text-sm text-gray-700 mb-1">
150150
Task ID
151151
</div>
152-
<div className="text-xs text-gray-600 break-words whitespace-pre-wrap">
152+
<div className="text-xs text-gray-600 wrap-break-word whitespace-pre-wrap">
153153
{taskId}
154154
</div>
155155
</div>
@@ -159,7 +159,7 @@ const TaskDetails = ({
159159
<div className="shrink-0 font-medium text-sm text-gray-700 mb-1">
160160
Run Status
161161
</div>
162-
<div className="text-xs text-gray-600 break-words whitespace-pre-wrap">
162+
<div className="text-xs text-gray-600 wrap-break-word whitespace-pre-wrap">
163163
{status}
164164
</div>
165165
</div>
@@ -177,7 +177,7 @@ const TaskDetails = ({
177177
<div className="shrink-0 font-medium text-sm text-gray-700 mb-1">
178178
Author
179179
</div>
180-
<div className="text-xs text-gray-600 break-words whitespace-pre-wrap">
180+
<div className="text-xs text-gray-600 wrap-break-word whitespace-pre-wrap">
181181
{componentSpec.metadata.annotations?.author}
182182
</div>
183183
</div>
@@ -202,7 +202,7 @@ const TaskDetails = ({
202202
</div>
203203

204204
<CollapsibleContent className="mt-1">
205-
<div className="text-xs text-gray-600 break-words whitespace-pre-wrap">
205+
<div className="text-xs text-gray-600 wrap-break-word whitespace-pre-wrap">
206206
{componentSpec.description}
207207
</div>
208208
</CollapsibleContent>

src/components/shared/TaskDetails/IO.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TaskIO = ({ componentSpec }: TaskIOProps) => {
3434
)}
3535
</div>
3636
{input.description && (
37-
<div className="text-gray-600 break-words text-xs">
37+
<div className="text-gray-600 wrap-break-word text-xs">
3838
{input.description}
3939
</div>
4040
)}
@@ -55,7 +55,7 @@ const TaskIO = ({ componentSpec }: TaskIOProps) => {
5555
</div>
5656
{output.type && <Badge>Type: {String(output.type)}</Badge>}
5757
{output.description && (
58-
<div className="text-muted-foreground break-words text-xs">
58+
<div className="text-muted-foreground wrap-break-word text-xs">
5959
{output.description}
6060
</div>
6161
)}

src/components/ui/breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const BreadcrumbList = React.forwardRef<
1919
<ol
2020
ref={ref}
2121
className={cn(
22-
"flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
22+
"flex flex-wrap items-center gap-1.5 wrap-break-word text-sm text-muted-foreground sm:gap-2.5",
2323
className,
2424
)}
2525
{...props}

0 commit comments

Comments
 (0)