Skip to content

Commit 8a9debb

Browse files
committed
4878 - fix DeployButton spacing when project hasnt been published yet
1 parent 12cd169 commit 8a9debb

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • client/src/pages/automation/project/components/project-header/components

client/src/pages/automation/project/components/project-header/components/DeployButton.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,14 @@ const DeployButton = ({project}: {project: Project}) => {
3434
return (
3535
<Tooltip>
3636
<TooltipTrigger asChild>
37-
<span className="ml-2 inline-flex">
38-
<Button disabled icon={<RocketIcon />} label="Deploy" variant="outline" />
37+
<span className="inline-flex">
38+
<Button
39+
className="rounded-l-none border-l-0"
40+
disabled
41+
icon={<RocketIcon />}
42+
label="Deploy"
43+
variant="outline"
44+
/>
3945
</span>
4046
</TooltipTrigger>
4147

0 commit comments

Comments
 (0)