Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';

export const styles = {
export const styles = (theme) => ({
/* Styles applied to the root element. */
root: {
display: 'flex',
padding: '8px 24px 24px',
padding: theme.spacing(1, 2, 2),
},
};
});

const ExpansionPanelDetails = React.forwardRef(function ExpansionPanelDetails(props, ref) {
const { classes, className, ...other } = props;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const styles = (theme) => {
display: 'flex',
minHeight: 8 * 6,
transition: theme.transitions.create(['min-height', 'background-color'], transition),
padding: theme.spacing(0, 3),
padding: theme.spacing(0, 2),
'&:hover:not($disabled)': {
cursor: 'pointer',
},
Expand Down