decompme / decomp.me

Collaborative decompilation and reverse engineering website
https://decomp.me
MIT License
348 stars 108 forks source link

Restrained max width on new scratch #1227

Closed conorgolden1 closed 1 month ago

conorgolden1 commented 1 month ago

Fixes #663

conorgolden1 commented 1 month ago

The width here is defaulted by the automatic margins on the left and right in the parent div. Since the automatic margins are restricting the width the center content doesn't inherently reach the max width. That's why when you are adding more text to the cm it will increase in size until that max-width is reached because the margins are adjusting automatically. I just adjusted the max width the about default rendering that is expected. Although I do think we should allow for better scaling based on screen size that is a different issue altogether and one that should be fixed with a mobile view implementation.