@@ -164,16 +164,16 @@ let defaultModifiers = {
164164 'thead th:last-child' : {
165165 paddingRight : '0' ,
166166 } ,
167- 'tbody td' : {
167+ 'tbody td, tfoot td ' : {
168168 paddingTop : em ( 8 , 12 ) ,
169169 paddingRight : em ( 12 , 12 ) ,
170170 paddingBottom : em ( 8 , 12 ) ,
171171 paddingLeft : em ( 12 , 12 ) ,
172172 } ,
173- 'tbody td:first-child' : {
173+ 'tbody td:first-child, tfoot td:first-child ' : {
174174 paddingLeft : '0' ,
175175 } ,
176- 'tbody td:last-child' : {
176+ 'tbody td:last-child, tfoot td:last-child ' : {
177177 paddingRight : '0' ,
178178 } ,
179179 } ,
@@ -342,16 +342,16 @@ let defaultModifiers = {
342342 'thead th:last-child' : {
343343 paddingRight : '0' ,
344344 } ,
345- 'tbody td' : {
345+ 'tbody td, tfoot td ' : {
346346 paddingTop : em ( 8 , 14 ) ,
347347 paddingRight : em ( 8 , 14 ) ,
348348 paddingBottom : em ( 8 , 14 ) ,
349349 paddingLeft : em ( 8 , 14 ) ,
350350 } ,
351- 'tbody td:first-child' : {
351+ 'tbody td:first-child, tfoot td:first-child ' : {
352352 paddingLeft : '0' ,
353353 } ,
354- 'tbody td:last-child' : {
354+ 'tbody td:last-child, tfoot td:last-child ' : {
355355 paddingRight : '0' ,
356356 } ,
357357 } ,
@@ -520,16 +520,16 @@ let defaultModifiers = {
520520 'thead th:last-child' : {
521521 paddingRight : '0' ,
522522 } ,
523- 'tbody td' : {
523+ 'tbody td, tfoot td ' : {
524524 paddingTop : em ( 12 , 16 ) ,
525525 paddingRight : em ( 12 , 16 ) ,
526526 paddingBottom : em ( 12 , 16 ) ,
527527 paddingLeft : em ( 12 , 16 ) ,
528528 } ,
529- 'tbody td:first-child' : {
529+ 'tbody td:first-child, tfoot td:first-child ' : {
530530 paddingLeft : '0' ,
531531 } ,
532- 'tbody td:last-child' : {
532+ 'tbody td:last-child, tfoot td:last-child ' : {
533533 paddingRight : '0' ,
534534 } ,
535535 } ,
@@ -698,16 +698,16 @@ let defaultModifiers = {
698698 'thead th:last-child' : {
699699 paddingRight : '0' ,
700700 } ,
701- 'tbody td' : {
701+ 'tbody td, tfoot td ' : {
702702 paddingTop : em ( 16 , 18 ) ,
703703 paddingRight : em ( 12 , 18 ) ,
704704 paddingBottom : em ( 16 , 18 ) ,
705705 paddingLeft : em ( 12 , 18 ) ,
706706 } ,
707- 'tbody td:first-child' : {
707+ 'tbody td:first-child, tfoot td:first-child ' : {
708708 paddingLeft : '0' ,
709709 } ,
710- 'tbody td:last-child' : {
710+ 'tbody td:last-child, tfoot td:last-child ' : {
711711 paddingRight : '0' ,
712712 } ,
713713 } ,
@@ -876,16 +876,16 @@ let defaultModifiers = {
876876 'thead th:last-child' : {
877877 paddingRight : '0' ,
878878 } ,
879- 'tbody td' : {
879+ 'tbody td, tfoot td ' : {
880880 paddingTop : em ( 16 , 20 ) ,
881881 paddingRight : em ( 12 , 20 ) ,
882882 paddingBottom : em ( 16 , 20 ) ,
883883 paddingLeft : em ( 12 , 20 ) ,
884884 } ,
885- 'tbody td:first-child' : {
885+ 'tbody td:first-child, tfoot td:first-child ' : {
886886 paddingLeft : '0' ,
887887 } ,
888- 'tbody td:last-child' : {
888+ 'tbody td:last-child, tfoot td:last-child ' : {
889889 paddingRight : '0' ,
890890 } ,
891891 } ,
@@ -1402,6 +1402,13 @@ module.exports = {
14021402 'tbody td' : {
14031403 verticalAlign : 'baseline' ,
14041404 } ,
1405+ tfoot : {
1406+ borderTopWidth : '1px' ,
1407+ borderTopColor : 'var(--tw-prose-th-borders)' ,
1408+ } ,
1409+ 'tfoot td' : {
1410+ verticalAlign : 'top' ,
1411+ } ,
14051412 } ,
14061413 defaultModifiers . gray . css ,
14071414 ...defaultModifiers . base . css ,
0 commit comments