fix: changed add flow button to be square on collapsed screen (#4824)
Fixed button aspect ratio Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
This commit is contained in:
parent
6f2cc34bf5
commit
7961cb278e
1 changed files with 17 additions and 18 deletions
|
|
@ -135,24 +135,23 @@ const HeaderComponent = ({
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-2">
|
<ShadTooltip content="New Flow" side="bottom">
|
||||||
<ShadTooltip content="New Flow" side="bottom">
|
<Button
|
||||||
<Button
|
variant="default"
|
||||||
variant="default"
|
className="!px-3 md:!px-4 md:!pl-3.5"
|
||||||
onClick={() => setNewProjectModal(true)}
|
onClick={() => setNewProjectModal(true)}
|
||||||
id="new-project-btn"
|
id="new-project-btn"
|
||||||
>
|
>
|
||||||
<ForwardedIconComponent
|
<ForwardedIconComponent
|
||||||
name="Plus"
|
name="Plus"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
className="h-4 w-4"
|
className="h-4 w-4"
|
||||||
/>
|
/>
|
||||||
<span className="hidden whitespace-nowrap font-semibold md:inline">
|
<span className="hidden whitespace-nowrap font-semibold md:inline">
|
||||||
New Flow
|
New Flow
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
</ShadTooltip>
|
</ShadTooltip>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue