@eturnity/eturnity_reusable_components 7.12.6-EPDM-10310.1 → 7.12.6-EPDM-10310.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/package.json
CHANGED
@@ -172,18 +172,17 @@ const selectorProps = {
|
|
172
172
|
showBorder: Boolean
|
173
173
|
}
|
174
174
|
const Selector = styled('div', selectorProps)`
|
175
|
-
width: ${
|
176
|
-
props.selectWidth === '100%' ? props.selectWidth :
|
177
|
-
`calc(${props.selectWidth} -
|
175
|
+
${(props) => props.selectWidth === '100%' ? 'width: 100%;' : `width: calc(${props.selectWidth} -
|
178
176
|
(
|
179
177
|
${CARET_WIDTH} +
|
180
178
|
${props.paddingLeft}
|
181
179
|
${props.showBorder ? `+ (${BORDER_WIDTH} * 2)` : ''}
|
182
180
|
)
|
183
|
-
)
|
184
|
-
|
185
|
-
|
186
|
-
|
181
|
+
);
|
182
|
+
white-space: nowrap;
|
183
|
+
text-overflow: ellipsis;
|
184
|
+
overflow: hidden;`
|
185
|
+
}
|
187
186
|
`
|
188
187
|
|
189
188
|
const labelAttrs = { fontSize: String, fontColor: String }
|