@@ -164,16 +164,16 @@ let defaultModifiers = {
164
164
'thead th:last-child' : {
165
165
paddingRight : '0' ,
166
166
} ,
167
- 'tbody td' : {
167
+ 'tbody td, tfoot td ' : {
168
168
paddingTop : em ( 8 , 12 ) ,
169
169
paddingRight : em ( 12 , 12 ) ,
170
170
paddingBottom : em ( 8 , 12 ) ,
171
171
paddingLeft : em ( 12 , 12 ) ,
172
172
} ,
173
- 'tbody td:first-child' : {
173
+ 'tbody td:first-child, tfoot td:first-child ' : {
174
174
paddingLeft : '0' ,
175
175
} ,
176
- 'tbody td:last-child' : {
176
+ 'tbody td:last-child, tfoot td:last-child ' : {
177
177
paddingRight : '0' ,
178
178
} ,
179
179
} ,
@@ -342,16 +342,16 @@ let defaultModifiers = {
342
342
'thead th:last-child' : {
343
343
paddingRight : '0' ,
344
344
} ,
345
- 'tbody td' : {
345
+ 'tbody td, tfoot td ' : {
346
346
paddingTop : em ( 8 , 14 ) ,
347
347
paddingRight : em ( 8 , 14 ) ,
348
348
paddingBottom : em ( 8 , 14 ) ,
349
349
paddingLeft : em ( 8 , 14 ) ,
350
350
} ,
351
- 'tbody td:first-child' : {
351
+ 'tbody td:first-child, tfoot td:first-child ' : {
352
352
paddingLeft : '0' ,
353
353
} ,
354
- 'tbody td:last-child' : {
354
+ 'tbody td:last-child, tfoot td:last-child ' : {
355
355
paddingRight : '0' ,
356
356
} ,
357
357
} ,
@@ -520,16 +520,16 @@ let defaultModifiers = {
520
520
'thead th:last-child' : {
521
521
paddingRight : '0' ,
522
522
} ,
523
- 'tbody td' : {
523
+ 'tbody td, tfoot td ' : {
524
524
paddingTop : em ( 12 , 16 ) ,
525
525
paddingRight : em ( 12 , 16 ) ,
526
526
paddingBottom : em ( 12 , 16 ) ,
527
527
paddingLeft : em ( 12 , 16 ) ,
528
528
} ,
529
- 'tbody td:first-child' : {
529
+ 'tbody td:first-child, tfoot td:first-child ' : {
530
530
paddingLeft : '0' ,
531
531
} ,
532
- 'tbody td:last-child' : {
532
+ 'tbody td:last-child, tfoot td:last-child ' : {
533
533
paddingRight : '0' ,
534
534
} ,
535
535
} ,
@@ -698,16 +698,16 @@ let defaultModifiers = {
698
698
'thead th:last-child' : {
699
699
paddingRight : '0' ,
700
700
} ,
701
- 'tbody td' : {
701
+ 'tbody td, tfoot td ' : {
702
702
paddingTop : em ( 16 , 18 ) ,
703
703
paddingRight : em ( 12 , 18 ) ,
704
704
paddingBottom : em ( 16 , 18 ) ,
705
705
paddingLeft : em ( 12 , 18 ) ,
706
706
} ,
707
- 'tbody td:first-child' : {
707
+ 'tbody td:first-child, tfoot td:first-child ' : {
708
708
paddingLeft : '0' ,
709
709
} ,
710
- 'tbody td:last-child' : {
710
+ 'tbody td:last-child, tfoot td:last-child ' : {
711
711
paddingRight : '0' ,
712
712
} ,
713
713
} ,
@@ -876,16 +876,16 @@ let defaultModifiers = {
876
876
'thead th:last-child' : {
877
877
paddingRight : '0' ,
878
878
} ,
879
- 'tbody td' : {
879
+ 'tbody td, tfoot td ' : {
880
880
paddingTop : em ( 16 , 20 ) ,
881
881
paddingRight : em ( 12 , 20 ) ,
882
882
paddingBottom : em ( 16 , 20 ) ,
883
883
paddingLeft : em ( 12 , 20 ) ,
884
884
} ,
885
- 'tbody td:first-child' : {
885
+ 'tbody td:first-child, tfoot td:first-child ' : {
886
886
paddingLeft : '0' ,
887
887
} ,
888
- 'tbody td:last-child' : {
888
+ 'tbody td:last-child, tfoot td:last-child ' : {
889
889
paddingRight : '0' ,
890
890
} ,
891
891
} ,
@@ -1402,6 +1402,13 @@ module.exports = {
1402
1402
'tbody td' : {
1403
1403
verticalAlign : 'baseline' ,
1404
1404
} ,
1405
+ tfoot : {
1406
+ borderTopWidth : '1px' ,
1407
+ borderTopColor : 'var(--tw-prose-th-borders)' ,
1408
+ } ,
1409
+ 'tfoot td' : {
1410
+ verticalAlign : 'top' ,
1411
+ } ,
1405
1412
} ,
1406
1413
defaultModifiers . gray . css ,
1407
1414
...defaultModifiers . base . css ,
0 commit comments