File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
src/features/common/components/debugger-picker Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ interface DebuggerPickerComponentProps {
4040 GroupBase < DebuggerPickerOptionModel >
4141 > ;
4242 isGrouped ?: boolean ;
43- selectedOptionCode : DebuggerPickerOptionModel | null ;
43+ selectedOptionCode ? : DebuggerPickerOptionModel | null ;
4444 handleSelection : (
4545 selection : string ,
4646 parentLabel ?: LibraryFilterLabel
@@ -54,6 +54,7 @@ export const DebuggerPickerComponent: React.FC<
5454> = ( {
5555 label,
5656 options,
57+ selectedOptionCode,
5758 handleSelection,
5859 placeholder,
5960 minWidth,
@@ -93,6 +94,7 @@ export const DebuggerPickerComponent: React.FC<
9394 classNamePrefix = { "react-select" }
9495 isSearchable = { false }
9596 placeholder = { placeholder }
97+ value = { selectedOptionCode }
9698 styles = { {
9799 control : ( base ) => ( {
98100 ...base ,
Original file line number Diff line number Diff line change @@ -33,20 +33,17 @@ $picker-list-offset-lg: calc(($picker-list-width-lg - $picker-width-lg) / 2);
3333}
3434
3535.picker__label {
36- display : flex ;
37- align-items : center ;
38- justify-content : center ;
39- padding : 0 ;
40- list-style-type : none ;
41- margin : 0 ;
42- gap : 0.5rem ;
43- font-size : 0.8125rem ;
44- line-height : 1.3125rem ;
45- letter-spacing : -0.05px ;
46-
47- width : 100% ;
48-
49- height : 100% ;
36+ display : flex ;
37+ align-items : center ;
38+ justify-content : flex-start ;
39+ padding : 0 ;
40+ list-style-type : none ;
41+ margin : 0 ;
42+ gap : .5rem ;
43+ font-size : .875rem ;
44+ line-height : 1.35 ;
45+ width : 100% ;
46+ height : 100% ;
5047
5148 & svg {
5249 stroke : var (--color_fg_bold );
@@ -55,4 +52,5 @@ $picker-list-offset-lg: calc(($picker-list-width-lg - $picker-width-lg) / 2);
5552
5653.picker__fullName {
5754 display : flex ;
55+ font-weight : 600 ;
5856}
You can’t perform that action at this time.
0 commit comments