Open achook opened 5 years ago
The search results can overflow the screen when the paths of the packages are long but shorter than 45 characters. Example and the long path (demagnle is exactly 45 chars long)
Solution: Change the 45 to a smaller value (10?) or remove the condition entirely to allow browsers to break the shorter paths https://github.com/golang/gddo/blob/574849d519ec3acb591fc5620ee0aa3ea48081e0/gddo-server/template.go#L329-L336
Note: Happens only on Chrome, Firefox breaks lines on every "/" automatically. Example
The search results can overflow the screen when the paths of the packages are long but shorter than 45 characters. Example and the long path (demagnle is exactly 45 chars long)
Solution: Change the 45 to a smaller value (10?) or remove the condition entirely to allow browsers to break the shorter paths https://github.com/golang/gddo/blob/574849d519ec3acb591fc5620ee0aa3ea48081e0/gddo-server/template.go#L329-L336
Note: Happens only on Chrome, Firefox breaks lines on every "/" automatically. Example