Now badges wrap properly to new line with additional text linebreaks.
Test plan
Try to search for a query with multiple rule names, some of them very long and try to match many files to see if multiple result search also works properly. Try resizing the window, zooming in and out and try to find unexpected/unwished for behavior.
Your checklist for this pull request
What is the current behaviour? Currently badges in query result page go out of page when given too long names, as per https://user-images.githubusercontent.com/20182642/82444130-6a327c00-9aab-11ea-8693-63cf5dcb0cce.gif https://github.com/CERT-Polska/mquery/issues/196
What is the new behaviour?
Now badges wrap properly to new line with additional text linebreaks.
Test plan
Try to search for a query with multiple rule names, some of them very long and try to match many files to see if multiple result search also works properly. Try resizing the window, zooming in and out and try to find unexpected/unwished for behavior.
Closing issues
fixes #196