New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tailwindcss-safe-area

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwindcss-safe-area - npm Package Compare versions

Comparing version

to
0.2.1

2

package.json
{
"name": "tailwindcss-safe-area",
"version": "0.1.3",
"version": "0.2.1",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -48,10 +48,12 @@ # tailwindcss-safe-area

| Utilities | Styles |
| ------------------ | ------------------------------------------------- |
| `m-safe, p-safe` | `env(safe-area-inset-{top, right, bottom, left})` |
| `mx-safe, px-safe` | `env(safe-area-inset-{right, left})` |
| `my-safe, py-safe` | `env(safe-area-inset-{top, bottom})` |
| `mt-safe, pt-safe` | `env(safe-area-inset-top)` |
| `mr-safe, pr-safe` | `env(safe-area-inset-right)` |
| `mb-safe, pb-safe` | `env(safe-area-inset-bottom)` |
| `ml-safe, pl-safe` | `env(safe-area-inset-left)` |
| Utilities | Styles |
| ---------------------------------- | ------------------------------------------------------------------------ |
| `m-safe, p-safe` | `env(safe-area-inset-{top, right, bottom, left})` |
| `mx-safe, px-safe` | `env(safe-area-inset-{right, left})` |
| `my-safe, py-safe` | `env(safe-area-inset-{top, bottom})` |
| `mt-safe, pt-safe` | `env(safe-area-inset-top)` |
| `mr-safe, pr-safe` | `env(safe-area-inset-right)` |
| `mb-safe, pb-safe` | `env(safe-area-inset-bottom)` |
| `ml-safe, pl-safe` | `env(safe-area-inset-left)` |
| `min-h-screen-safe, h-screen-safe` | `calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))` |
| | `-webkit-fill-available` |

@@ -57,2 +57,10 @@ const plugin = require('tailwindcss/plugin')

},
'.min-h-screen-safe': {
minHeight: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
minHeight: '-webkit-fill-available',
},
'.h-screen-safe': {
height: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
height: '-webkit-fill-available',
},
}

@@ -59,0 +67,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet