
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
nav-squisher
Advanced tools
Give your global header a bit more room to breath with this nav compacting tool
Give your global header a bit more room to breath with this nav compacting tool
Often you have limited space in a website's global header and need to squeeze in a sizable first-level navigation.
Large desktops probably have plenty of space for your nav, but tablets (especially portrait) and laptops just can't fit it all in.
You want the spacing left & right of each button's text to be consistant (as if you were using display:inline-block
, or float:left
), but you don't want it to wrap to the next line.
You don't mind the text contents of some buttons flowing onto multiple lines (given a max-width
property), if it helps keep the nav, as a whole, on 1 line. It's preferrable to text overflow truncation.
"Nav Squisher" is what you need!
This library is still in early staging of development. Use with caution.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.