@gelbehexe/svg-no-pointer-events

1.0.0 • Public • Published

SVG No Breakpoints

It simply disables pointer events for svg tag in html since they are disturbing when catching click away events

Installation

Install the plugin from npm:

# Using npm
npm install @gelbehexe/svg-no-pointer-events

# Using Yarn
yarn add @gelbehexe/svg-no-pointer-events

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  plugins: [
    // ...
    require('@gelbehexe/svg-no-pointer-events'),
    // ...
  ],
}

Generated css

svg {
  pointer-events: none
}

Readme

Keywords

Package Sidebar

Install

npm i @gelbehexe/svg-no-pointer-events

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.99 kB

Total Files

7

Last publish

Collaborators

  • gelbehexe