Dashboard name pill on a round panel: 56 high, icon and title at 24, at most 280 wide
This commit is contained in:
@@ -361,10 +361,10 @@ function NamePill({ dashboard }: { dashboard: Dashboard }) {
|
||||
return (
|
||||
<output
|
||||
data-testid="dashboard-announce"
|
||||
className="flex h-9 max-w-[220px] items-center gap-2 rounded-full border border-border bg-card/80 px-4 font-medium shadow-e2 backdrop-blur-md"
|
||||
style={{ fontSize: 15 }}
|
||||
className="flex h-14 max-w-[280px] items-center gap-2.5 rounded-full border border-border bg-card/80 px-5 font-medium shadow-e2 backdrop-blur-md"
|
||||
style={{ fontSize: 24 }}
|
||||
>
|
||||
{Glyph ? <Glyph className="size-4 shrink-0" aria-hidden /> : null}
|
||||
{Glyph ? <Glyph className="size-6 shrink-0" aria-hidden /> : null}
|
||||
<span className="truncate">{dashboard.title || dashboard.name}</span>
|
||||
</output>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user