Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions dashboard/src/components/Section/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,18 @@ const Section = ({
<div className="text-dim-gray mb-6 flex flex-col gap-4">
<div className="flex flex-col gap-2">
{eyebrow && <span className="text-sm">{eyebrow}</span>}
<div className="flex flex-row items-center gap-2">
{leftIcon}
<div className="overflow-hidden">
{leftIcon && (
<span className="float-left mr-2 -mb-2 [&_svg]:h-8 [&_svg]:w-8">
{leftIcon}
</span>
)}
{rightIcon && <span>{rightIcon}</span>}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the rightIcon should be reverted to its place

Image

{title && (
<span className="max-w-full text-2xl font-bold break-all">
{title}
</span>
)}
{rightIcon}
</div>
{subtitle}
</div>
Expand Down
Loading