Skip to content

Commit 968522d

Browse files
committed
Added single value styling for pf3 select
1 parent 7a187e2 commit 968522d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/pf3-component-mapper/demo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const selectSchema = {
1919
validateOnMount: true,
2020
menuIsOpen: true,
2121
isClearable: true,
22-
multi: true,
22+
multi: false,
2323
validate: [{
2424
type: 'required-validator'
2525
}],

packages/pf3-component-mapper/src/form-fields/select/react-select.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,12 @@ div.field-group {
142142
.ddorg__pf3-component-mapper__select__value-container {
143143
margin-right: 8px;
144144
}
145+
.ddorg__pf3-component-mapper__select__single-value {
146+
font-size: 12px;
147+
margin-left: 0;
148+
font-weight: 600;
149+
color: rgb(54, 54, 54);
150+
text-overflow: clip;
151+
max-width: 100%
152+
}
145153
}

0 commit comments

Comments
 (0)