Skip to content

Commit 3bc4d6a

Browse files
authored
fix: improve tooltip readability (#412)
| Before | After | | ------- | ------- | | <img width="556" height="308" alt="CleanShot 2026-06-15 at 12 26 33@2x" src="https://github.com/user-attachments/assets/da6f5ff1-9fe0-4ed1-8204-ee91191093f1" /> | <img width="710" height="344" alt="CleanShot 2026-06-15 at 12 47 53@2x" src="https://github.com/user-attachments/assets/a3358095-92e9-42ed-a1d7-99a927793c9c" /> |
1 parent cb338b0 commit 3bc4d6a

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/features/dashboard/templates/list/table-cells.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@ import { useDashboard } from '../../context'
4242

4343
function E2BTemplateBadge() {
4444
return (
45-
<HelpTooltip trigger={<E2BBadge />}>
45+
<HelpTooltip
46+
trigger={<E2BBadge />}
47+
classNames={{ content: 'max-w-[208px]' }}
48+
>
4649
<p className="text-fg-secondary font-sans text-xs whitespace-break-spaces">
47-
This template was created by E2B. It is one of the default templates
48-
every user has access to.
50+
This template was created by&nbsp;E2B. It is one of the default
51+
templates every user has access to.
4952
</p>
5053
</HelpTooltip>
5154
)

0 commit comments

Comments
 (0)