@selfcommunity/react-theme-default
Version:
Default theme to use with SelfCommunity TS library
23 lines (22 loc) • 695 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const Component = {
styleOverrides: {
root: ({ theme }) => ({
'& .SCPreviewMediaImage-title': {
position: 'absolute',
top: theme.spacing(3),
left: theme.spacing(3),
'& > h6': {
padding: theme.spacing(1, 2),
borderRadius: theme.shape.borderRadius,
maxWidth: 220,
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden'
}
}
})
}
};
exports.default = Component;
;