lamassu-server/new-lamassu-admin/src/components/editableTable/Row.styles.js
2020-10-22 17:03:00 +01:00

30 lines
549 B
JavaScript

import { bySize, bold } from 'src/styling/helpers'
export default {
saveButton: {
marginRight: 20
},
lastOfGroup: {
marginBottom: 24
},
extraPadding: {
paddingLeft: 35,
paddingRight: 30
},
extraPaddingRight: {
paddingRight: 39
},
withSuffix: ({ textAlign }) => {
const justifyContent = textAlign === 'right' ? 'end' : textAlign
return {
display: 'flex',
alignItems: 'baseline',
justifyContent
}
},
suffix: {
marginLeft: 7
},
size: ({ size }) => bySize(size),
bold
}