Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nav-squisher

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nav-squisher

Give your global header a bit more room to breath with this nav compacting tool

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

nav-squisher

Give your global header a bit more room to breath with this nav compacting tool

Description

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!

Still in development

This library is still in early staging of development. Use with caution.

Keywords

FAQs

Package last updated on 23 Jan 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc