CERT-Polska / mquery

YARA malware query accelerator (web frontend)
GNU Affero General Public License v3.0
413 stars 77 forks source link

fix: styling of rulenames badges wraps properly #419

Closed mickol34 closed 1 month ago

mickol34 commented 1 month ago

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

mickol34 commented 1 month ago

Current behavior with singular search shown below. Screencast from 2024-10-09 10-06-44.webm