Skip to content

Commit 62df119

Browse files
committed
Tweak ad text layout
1 parent c541d22 commit 62df119

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cli/src/components/choice-ad-banner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const ChoiceAdBanner: React.FC<ChoiceAdBannerProps> = ({ ads, onImpressio
139139
</box>
140140
<box style={{ flexGrow: 1 }} />
141141
{/* Bottom: CTA + domain */}
142-
<box style={{ flexDirection: 'row', columnGap: 1, alignItems: 'center' }}>
142+
<box style={{ flexDirection: 'row', columnGap: 1, alignItems: 'center', height: 1, overflow: 'hidden' }}>
143143
<text
144144
style={{
145145
fg: theme.name === 'light' ? '#ffffff' : theme.background,
@@ -152,6 +152,7 @@ export const ChoiceAdBanner: React.FC<ChoiceAdBannerProps> = ({ ads, onImpressio
152152
<text
153153
style={{
154154
fg: theme.muted,
155+
wrapMode: 'none',
155156
attributes:
156157
label.variant === 'domain'
157158
? TextAttributes.UNDERLINE

0 commit comments

Comments
 (0)