Skip to content

Commit

Permalink
fix(blue-print): number attribute type display full
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUmer44 committed Sep 20, 2024
1 parent abf49ae commit ee2f915
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const FormInput = ({
/>
</Grid>
<Grid item xs={4}>
<AutoComplete
<StyledAutoComplete
dataTestId={`cy-item-select-${index}`}
disabled={requiredKey}
onSelect={(val) => setValue(`attributes[${index}].type`, val?.value)}
Expand Down Expand Up @@ -165,3 +165,9 @@ const InputsWrapper = styled(Flex)`
width: calc(100% + 20px);
max-height: calc(80vh - 300px);
`

const StyledAutoComplete = styled(AutoComplete)`
& .MuiInput-input.MuiInputBase-input {
padding: 8px 2px !important;
}
`

0 comments on commit ee2f915

Please sign in to comment.