Sam Rose @samwho.dev · May 15

You could get a lot of bang for your buck by just removing whatever this breakpoint is. I think the version designed for the larger screen can actually shrink quite a lot more than that and still look completely fine.

0 likes 2 replies

?

Replies

Sacha Greif · May 15

that's true when labels are short like this, but for other charts I do need to wrap the labels on short screens. There might be a way to only wrap when necessary though, maybe using container queries or some other advanced CSS magic.

Sam Rose · May 15

I changed your 600/599px breakpoints down to 100/99px to see how it'd look in practice and it ain't perfect but I do think it's better. Some work to do to make the percent labels inside the bars look nice.