verdaccio-ui/src/components/DetailSidebar/styles.ts
Antoine Chalifour 583ddd555a fix: some warnings in console (#155)
* fix: remove react emotion selector warning

* fix: validate DOM nesting
2019-10-04 23:19:50 +02:00

32 lines
599 B
TypeScript

import styled from 'react-emotion';
import ListItem from '@material-ui/core/ListItem';
import ListItemText from '@material-ui/core/ListItemText';
export const TitleListItem = styled(ListItem)({
'&&': {
paddingLeft: 0,
paddingRight: 0,
paddingBottom: 0,
},
});
export const TitleListItemText = styled(ListItemText)({
'&&': {
paddingLeft: 0,
paddingRight: 0,
paddingTop: '8px',
},
});
export const PackageDescription = styled('span')({
'&&': {
display: 'block',
},
});
export const PackageVersion = styled('span')({
'&&': {
display: 'block',
},
});