Skip to content

Commit 6a71b71

Browse files
authored
refactor(experience): select field should cut off overflow text and have extra dropdown padding (#7664)
1 parent 2ccd2ac commit 6a71b71

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

packages/experience/src/components/Dropdown/index.module.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
background: var(--color-bg-float-overlay);
1919
border: 1px solid var(--color-line-divider);
2020
border-radius: 8px;
21+
padding: _.unit(1);
2122
}
2223

2324
.overlay {

packages/experience/src/components/InputFields/PrimitiveProfileInputField/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const PrimitiveProfileInputField = ({
4747
options={options}
4848
value={value}
4949
description={description}
50+
errorMessage={errorMessage}
5051
onBlur={onBlur}
5152
onChange={onChange}
5253
/>

packages/experience/src/components/InputFields/SelectField/index.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
position: relative;
1212

1313
input {
14+
text-overflow: ellipsis;
15+
padding-inline-end: _.unit(8);
1416
cursor: pointer;
1517
}
1618

0 commit comments

Comments
 (0)