You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because utilitychart.css hardcodes the width of these columns. 120px for the name and 488px for the description. But that's not a showdown-dex file, it's a showdown-play file. Looking up how it affects the teambuilder's layout:
The difference comes from pokedex.css specifying .utilichart a { white-space: nowrap; }
The simplest fix for this is to make the description column float: right; instead. Though it wouldn't quite work in the teambuilder if the chat is closed and the description ends up on the other side of the screen. Another option would be to make this a proper table. The name-column would auto-size to the widest element, making the descriptions evenly offset from the left. I don't know if you can put a link around an entire row, but i'm sure that can be solved one way or another.
In either case, setting hard dimensions on variably sized content like text seems like a bad idea. I'd rather have some dynamic boxes if it means everything is readable.
The text was updated successfully, but these errors were encountered:
Honestly I don't particularly have an opinion on which looks better/worse. And for the ones with tables, like the pokemon with the stat tables, I'd rather have the stat tables line up than avoid overlap...
This is because utilitychart.css hardcodes the width of these columns. 120px for the name and 488px for the description. But that's not a showdown-dex file, it's a showdown-play file. Looking up how it affects the teambuilder's layout:
The difference comes from pokedex.css specifying
.utilichart a { white-space: nowrap; }
The simplest fix for this is to make the description column
float: right;
instead. Though it wouldn't quite work in the teambuilder if the chat is closed and the description ends up on the other side of the screen. Another option would be to make this a proper table. The name-column would auto-size to the widest element, making the descriptions evenly offset from the left. I don't know if you can put a link around an entire row, but i'm sure that can be solved one way or another.In either case, setting hard dimensions on variably sized content like text seems like a bad idea. I'd rather have some dynamic boxes if it means everything is readable.
The text was updated successfully, but these errors were encountered: