Skip to content

Commit

Permalink
QA fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilan committed Jun 21, 2024
1 parent 0586922 commit 57d1a77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-ui/src/components/molecules/MenuItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const StyledMenuItem = styled(MuiMenuItem, {
backgroundColor: theme.palette.background.paper,
borderBottom: `1px solid ${theme.palette.divider}`
},
'.MuiAutocomplete-listbox &:first-of-type': {
'.MuiAutocomplete-listbox &.MuiAutocomplete-option:first-of-type': {
minHeight: theme.spacing(6),
marginTop: 0,

Expand Down
3 changes: 3 additions & 0 deletions packages/react-ui/src/theme/sections/components/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,9 @@ export const formsOverrides = {
backgroundColor: theme.palette.action.hover
}
},
'&:first-of-type': {
marginTop: theme.spacing(1)
},

...(ownerState.size === 'small' && {
padding: theme.spacing(0.5, 1.5)
Expand Down

0 comments on commit 57d1a77

Please sign in to comment.