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:
Lucas Oliveira 2024-11-25 15:15:19 -03:00 • committed by GitHub
commit 7961cb278e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>
</> </>
)} )}