@proprioo/salatim 20.4.1 → 20.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Changelog
2
2
 
3
+ **20.4.2**
4
+
5
+ * Fix: Avoid overflow from Label
6
+
3
7
  **20.4.1**
4
8
 
5
9
  * Fix: <OfferSignatoryForm/> - add expected date format to birthdate input
package/lib/index.js CHANGED
@@ -219,7 +219,6 @@
219
219
  z-index: 1;
220
220
  top: 0;
221
221
  left: 0;
222
- right: ${({suffixLength:e})=>Boolean(e)?oe(52+12*e):oe(32)};
223
222
  white-space: nowrap;
224
223
  overflow: hidden;
225
224
  text-overflow: ellipsis;
@@ -233,7 +232,7 @@
233
232
  backface-visibility: hidden;
234
233
  font-smoothing: subpixel-antialiased;
235
234
  display: block;
236
- max-width: calc(100% - ${oe(48)});
235
+ max-width: ${({suffixLength:e})=>Boolean(e)?n.css`calc(100% - ${oe(52+12*e)})`:n.css`calc(100% - ${oe(48)})`};
237
236
  `,Re=c.default.div`
238
237
  position: absolute;
239
238
  right: ${oe(4)};