Skip to content

Commit 6756106

Browse files
authored
Merge pull request #4 from mohamedsabil83/master
Add verticalAlign option
2 parents 9d37ef7 + 96c0fa5 commit 6756106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = function (options) {
2525
backgroundColor: 'transparent',
2626
'td,th': {
2727
padding: optionsWithPropertyExists(options, 'cellPadding') ? options.cellPadding : '.75rem',
28-
verticalAlign: 'top',
28+
verticalAlign: optionsWithPropertyExists(options, 'verticalAlign') ? options.verticalAlign : 'top',
2929
borderTop: optionsWithPropertyExists(options, 'tableBorderColor')
3030
? '1px solid ' + options.tableBorderColor
3131
: '1px solid #dee2e6',

0 commit comments

Comments
 (0)