@elasticias/ui 1.0.33 → 1.0.34
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/package.json +1 -1
- package/styles/_patterns.scss +12 -0
package/package.json
CHANGED
package/styles/_patterns.scss
CHANGED
|
@@ -3678,6 +3678,18 @@ input.ef-input[type='number'] {
|
|
|
3678
3678
|
transform: translateY(-50%);
|
|
3679
3679
|
}
|
|
3680
3680
|
|
|
3681
|
+
/* The same centring, for the clear that PrimeNG owns rather than we do.
|
|
3682
|
+
`ef-password` fills PrimeNG's `#clearicon` slot with the 22px `.ef-clear`
|
|
3683
|
+
used by every other field, but PrimeNG offsets that slot by half of *its*
|
|
3684
|
+
glyph, not ours — so the ✕ sat 3.2px below the middle while the mask toggle
|
|
3685
|
+
beside it, which PrimeNG renders itself, was exactly centred. One field
|
|
3686
|
+
looked level and the other did not, from the same 8px inset. */
|
|
3687
|
+
.p-password-clear-icon {
|
|
3688
|
+
top: 50%;
|
|
3689
|
+
margin-top: 0;
|
|
3690
|
+
transform: translateY(-50%);
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3681
3693
|
/* Clearable textarea — clear ✕ pinned to the top-trailing corner (clear of
|
|
3682
3694
|
the bottom-right resize handle); text gets trailing padding to dodge it. */
|
|
3683
3695
|
.ef-textarea-wrap {
|