eternagame / EternaJS

Eterna game/RNA design interface
Other
12 stars 10 forks source link

State switcher displays poorly with states > 9 #741

Open luxaritas opened 7 months ago

luxaritas commented 7 months ago

Expected Behavior

Something reasonable

Current Behavior

image

Reproduction Steps

See https://eternagame.org/puzzles/8542163/play

Environment

No response

Other information

There aren't any legitimate puzzles with states > 4, but we should do something here. Maybe scaling the text to fit in the box is good enough? Also may or may not be able to get additional headroom by splitting it into two lines after state count hits double digits (not sure how that would go with tripple digits...)