fix: cap update banner description length

This commit is contained in:
7w1 committed 2026-09-17 21:17:36 -05:00
1 parent a3ad7ebe4c
commit afe5c8823f
3 files changed
+14 -1

No files matched your search

@@ -0,0 +1,5 @@
---
default: patch
---
Cap update banner changelog text so the update is updateable.
@@ -89,6 +89,14 @@ export const HeaderText = style({
gap: toRem(4),
});
export const Description = style({
display: '-webkit-box',
WebkitLineClamp: 6,
WebkitBoxOrient: 'vertical',
overflow: 'hidden',
overflowWrap: 'anywhere',
});
export const Actions = style({
display: 'flex',
gap: config.space.S200,
@@ -32,7 +32,7 @@ export function GlobalBannerRenderer() {
<div className={css.HeaderText}>
<Text size="H4">{renderedBanner.title}</Text>
{typeof renderedBanner.description === 'string' ? (
<Text size="T300" priority="300">
<Text className={css.Description} size="T300" priority="300">
{renderedBanner.description}
</Text>
) : (