GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

Text Overflowing DIV on Post #93

Closed mattvella07 closed 8 years ago

mattvella07 commented 8 years ago

I noticing when I posted a post with a long URL it overflowed the bounds of the DIV, see screenshot below:

screen shot 2016-03-11 at 9 20 11 am
pmuens commented 8 years ago

Thanks for reporting. How should we fix that? Just an overflow: hidden or a scroll?

mattvella07 commented 8 years ago

I think if we add this to the less file for Feed page it should work:

.post { overflow-wrap: break-word; word-wrap: break-word; }

I'm not at my personal computer (which has the repo) so I just tried in the browser and looks like it works.

pmuens commented 8 years ago

Great. Thanks for checking that out!