Open tasomaniac opened 9 years ago
Thanks for reporting this! This is something that I have been looking at quite a bit today, but never wrote up. I put some details about it here though: https://github.com/angular/material/issues/2620. The behavior is even worse on Firefox. This might be something that can be fixed in angular-material's md-content
component.
I looked at making a fix in boomerang, but most options had unacceptable negative consequences like truncating every long line rather than flowing the text, this made most articles unreadable. We could parse through all of the text and look specifically for long links and then either shorten the link name (might be doable with some work) or actually put it through a link shortening API (probably way too slow), but that'll take some time and effort to work out.
Unfortunately the Angular Material team closed https://github.com/angular/material/issues/2620 as part of their massive bug purges as they shift focus to angular2-material.
This should do the trick...
body {
word-wrap: break-word;
}
But I'm curious how many of these issues that are open are going to be "fixed" for the current angular js app, or are they more concerns for the angular > 2 version??
Like are these issues should be resolved for the current app, or ensure that they are resolved for the upgradeAngular branch?
@MichaelSolati For general questions about Boomerang and issue triage, please use https://gitter.im/gdg-x/boomerang.
Once we have the Angular branch production-ready, the plan is to drop support for the AngularJS version of the site. Ideally, any issue fixing and feature enhancement would go into the Angular version.
When a link in a social stream item is too long, it messes with the width of the page. This may already be fixed. I just want to share the screenshot. :smile: