@@ -84,7 +84,7 @@ export function useDataTableInjectCssVariables({
8484 ( rect ) => {
8585 setCssVar ( root . current , VAR_HEADER_HEIGHT , `${ rect . height } px` ) ;
8686 } ,
87- ( ) => setCssVar ( root . current , VAR_HEADER_HEIGHT , '0px ' )
87+ ( ) => setCssVar ( root . current , VAR_HEADER_HEIGHT , '0 ' )
8888 ) ;
8989 } , [ header . current ] ) ;
9090
@@ -94,7 +94,7 @@ export function useDataTableInjectCssVariables({
9494 ( rect ) => {
9595 setCssVar ( root . current , VAR_FOOTER_HEIGHT , `${ rect . height } px` ) ;
9696 } ,
97- ( ) => setCssVar ( root . current , VAR_FOOTER_HEIGHT , '0px ' )
97+ ( ) => setCssVar ( root . current , VAR_FOOTER_HEIGHT , '0 ' )
9898 ) ;
9999 } , [ footer . current ] ) ;
100100
@@ -104,7 +104,7 @@ export function useDataTableInjectCssVariables({
104104 ( rect ) => {
105105 setCssVar ( root . current , VAR_SELECTION_COLUMN_WIDTH , `${ rect . width } px` ) ;
106106 } ,
107- ( ) => setCssVar ( root . current , VAR_SELECTION_COLUMN_WIDTH , '0px ' )
107+ ( ) => setCssVar ( root . current , VAR_SELECTION_COLUMN_WIDTH , '0 ' )
108108 ) ;
109109 } , [ selectionColumnHeader . current ] ) ;
110110
@@ -132,7 +132,7 @@ export function useDataTableInjectCssVariables({
132132 const diff = tableRect . height - scrollRect . height ;
133133 const relative = diff < 0 ;
134134 setCssVar ( root . current , '--mantine-datatable-footer-position' , relative ? 'relative' : 'sticky' ) ;
135- setCssVar ( root . current , '--mantine-datatable-footer-bottom' , relative ? `${ diff } px` : '0px ' ) ;
135+ setCssVar ( root . current , '--mantine-datatable-footer-bottom' , relative ? `${ diff } px` : '0 ' ) ;
136136 }
137137
138138 function processLastRowBottomBorder ( ) {
0 commit comments