@digicreon/mucss 1.4.3 → 1.4.4
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 +12 -0
- package/dist/mu.amber.css +1 -1
- package/dist/mu.azure.css +1 -1
- package/dist/mu.blue.css +1 -1
- package/dist/mu.css +1 -1
- package/dist/mu.cyan.css +1 -1
- package/dist/mu.fuchsia.css +1 -1
- package/dist/mu.green.css +1 -1
- package/dist/mu.grey.css +1 -1
- package/dist/mu.indigo.css +1 -1
- package/dist/mu.jade.css +1 -1
- package/dist/mu.lime.css +1 -1
- package/dist/mu.orange.css +1 -1
- package/dist/mu.pink.css +1 -1
- package/dist/mu.pumpkin.css +1 -1
- package/dist/mu.purple.css +1 -1
- package/dist/mu.red.css +1 -1
- package/dist/mu.sand.css +1 -1
- package/dist/mu.slate.css +1 -1
- package/dist/mu.violet.css +1 -1
- package/dist/mu.yellow.css +1 -1
- package/dist/mu.zinc.css +1 -1
- package/documentation/mu.tooltip.md +10 -0
- package/package.json +1 -1
|
@@ -80,6 +80,16 @@ Tooltips can be placed on form elements to guide the user.
|
|
|
80
80
|
|
|
81
81
|
---
|
|
82
82
|
|
|
83
|
+
## Long text and line breaks
|
|
84
|
+
|
|
85
|
+
Long tooltip text wraps automatically (max-width: 20rem). You can also force explicit line breaks using ` ` in the attribute:
|
|
86
|
+
|
|
87
|
+
```html
|
|
88
|
+
<span data-tooltip="Line 1 Line 2 Line 3">Multiline tooltip</span>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
83
93
|
## Attribute summary
|
|
84
94
|
|
|
85
95
|
| Attribute | Required | Description |
|