tailwind-lines-clamp 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
> [!NOTE]
|
|
2
|
-
> As of Tailwind CSS v3.3, `
|
|
2
|
+
> As of Tailwind CSS v3.3, `lines-clamp` utilities are included in the framework by default and this plugin is no longer required.
|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# tailwind-lines-clamp
|
|
5
5
|
|
|
6
6
|
A plugin that provides utilities for visually truncating text after a fixed number of lines.
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ A plugin that provides utilities for visually truncating text after a fixed numb
|
|
|
10
10
|
Install the plugin from npm:
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
npm install -
|
|
13
|
+
npm install tailwind-lines-clamp
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
Then add the plugin to your `tailwind.config.js` file:
|
|
@@ -22,7 +22,7 @@ module.exports = {
|
|
|
22
22
|
// ...
|
|
23
23
|
},
|
|
24
24
|
plugins: [
|
|
25
|
-
require('
|
|
25
|
+
require('tailwind-lines-clamp'),
|
|
26
26
|
// ...
|
|
27
27
|
],
|
|
28
28
|
}
|