y-scope / yscope-log-viewer

A tool that can be used to view logs compressed in CLP's IR Stream format.
Apache License 2.0
11 stars 12 forks source link

new-log-viewer: In the menubar any filename with hyphen is wrapped into multiple lines and overflows when the window is too narrow. #99

Closed junhaoliao closed 1 month ago

junhaoliao commented 1 month ago

Bug

In the menubar any filename with hyphen is wrapped into multiple lines and overflows when the window is too narrow. image

yscope-log-viewer version

2d54b83b78f9ce1ae01d2c6fd342344b69081b29

Environment

Microsoft Edge: Version 129.0.2792.89 (Official build) (64-bit) Node.js: v22.6.0 Monitor: 1920 x 1080 (Scale: 1)

Reproduction steps

  1. Launch debug server and load the app in the browser.
  2. Load sample file https://yscope.s3.us-east-2.amazonaws.com/sample-logs/yarn-ubuntu-resourcemanager-ip-172-31-17-135.log.1.clp.zst
  3. Resize the browser window to less than 500px in width and observe the filename gets wrapped into multiple lines and overflows the menu bar.