@neovici/cosmoz-input 3.4.0 → 3.4.2
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/dist/styles.js +5 -1
- package/package.json +1 -1
package/dist/styles.js
CHANGED
|
@@ -166,12 +166,16 @@ export const styles = css `
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
:host([autosize]) {
|
|
169
|
-
width:
|
|
169
|
+
width: min-content;
|
|
170
170
|
}
|
|
171
171
|
:host([autosize]) #input {
|
|
172
172
|
min-width: 2ch;
|
|
173
173
|
width: var(--chars);
|
|
174
174
|
}
|
|
175
|
+
:host([autosize]) .control {
|
|
176
|
+
max-width: 100%;
|
|
177
|
+
}
|
|
178
|
+
|
|
175
179
|
:host([autosize][type='number']) #input {
|
|
176
180
|
--width: calc(var(--chars) + 0.25em);
|
|
177
181
|
}
|