Skip to content

Commit

Permalink
Mui v5 fix styles to upgrade to the latest stable version (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilan authored Jul 26, 2024
1 parent 0e83a7b commit 2156e34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Not released

- Mui v5 fix styles to upgrade to the latest stable version [#892](https://github.com/CartoDB/carto-react/pull/892)
- fix legend widget return bug [#893](https://github.com/CartoDB/carto-react/pull/893)

## 3.0.0
Expand Down
3 changes: 2 additions & 1 deletion packages/react-ui/src/theme/sections/components/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export const formsOverrides = {
right: theme.spacing(2),
color: theme.palette.text.secondary
},
'&.Mui-disabled .MuiSelect-icon': {
'&.Mui-disabled .MuiSelect-icon, &.Mui-readOnly .MuiSelect-icon': {
color: theme.palette.text.disabled
},
'& .MuiSelect-iconStandard': {
Expand Down Expand Up @@ -661,6 +661,7 @@ export const formsOverrides = {
}),

endAdornment: ({ theme }) => ({
transform: 'none',
top: theme.spacing(2),
display: 'flex',
alignItems: 'center',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const navigationOverrides = {
root: ({ theme }) => ({
paddingTop: 0,

'.MuiPopover-root &, .MuiPopper-root &': {
'.MuiPopover-root &, .MuiPopper-root &, .MuiPaper-root &': {
minWidth: theme.spacing(8), // 64px, defined by design
maxHeight: theme.spacing(39), // 312px, defined by design
overflowY: 'auto',
Expand Down

0 comments on commit 2156e34

Please sign in to comment.