Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Stop Firefox announcement overflowing viewport (#10503)
* Stop Firefox announcement overflowing viewport Fixes an issue where long announcement messages caused the right-hand sidebar to and associated icons to be pushed outside the viewport due to how non-wrapping whitespace was interacting with flex layout. As a tradeoff, this commit causes overflowing text to no longer be displayed with a nice ellipsis in other browsers, simply cutting it short instead. * Restore announcement ellipsis overflow Announcment text is now wrapped in a `<p>` element which allows an extra flex container to control text overflow for long announcements. With this addition, announcements no longer make the right sidebar and its associated icons innaccessible by pushing them out of the viewport. A previous commit accomplished this by allowing whitespace to wrap, which caused overflowing text to clip rather than receive an ellipsis. This commit restores the ellipsis.
- Loading branch information