martriay / flashbots-explorer

Use Flashbots Bundle Explorer to search and inspect Flashbots bundles and analyze MEV extraction
https://flashbots-explorer.marto.lol
MIT License
164 stars 28 forks source link

Use CSS to shorten the transaction hash so that it can be CTRL+F'd #41

Closed devanoneth closed 2 years ago

devanoneth commented 2 years ago

When looking at larger bundles and expecting a certain TX to be there, I've tried to just CTRL+F for the transaction hash when the modal appears.

This doesn't work as it gets shortended in JS. With this change it gets shortened by CSS (text-overflow is supported by all browsers for years) and can then be searched. This is a small but user-friendly change.

I've tested and it works fine on desktop and mobile with Firefox.

martriay commented 2 years ago

Looks good, thanks!