Replies: 1 comment
-
|
It's not the styling, it's the right column width. When a style has a Width set and the content is wider, lipgloss word-wraps instead of truncating. Your footer Confirm it: compare Fix: size the right column to its actual content, give the left the rest.go |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to render a single line string where a specific part has a different style based on a value in my Bubbletea model. I've tried various combinations of (lipgloss) .Inline(), .Sprintf(), .StyleRunes(), and fmt.Sprintf(), but the
Vol %dbit always renders on a line below. The string is[MUTED] Vol %d, where 'muted' is different colors depending on model state. I've put the code for that entire section below since I'm not sure if I'm doing something else that's causing the problem.Beta Was this translation helpful? Give feedback.
All reactions