Skip to content

Commit

Permalink
Fix paired buttons spacing when the button is from a different variant (
Browse files Browse the repository at this point in the history
  • Loading branch information
vmilan authored May 8, 2023
1 parent 392dd80 commit 069e165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

- Fix paired buttons spacing when the button is from a different variant [#668](https://github.com/CartoDB/carto-react/pull/668)
- Added Storybook documentation on how to add an IconButton in a Table [#664](https://github.com/CartoDB/carto-react/pull/664)
- Changed how widget are calculated when a mask is set: use just the mask, no more intersection between mask and viewport [#661](https://github.com/CartoDB/carto-react/pull/661)
- LegendCategories component migrated from makeStyles to styled-components + cleanup [#634](https://github.com/CartoDB/carto-react/pull/634)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-ui/src/theme/sections/components/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const buttonsOverrides = {
fill: 'currentColor'
},
// Pairing buttons separation
'& + &': {
'& + .MuiButtonBase-root': {
marginLeft: getSpacing(1)
}
}),
Expand Down

0 comments on commit 069e165

Please sign in to comment.