Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

288
Vistas
Decrease table row height of mud (material-ui) below the minimum height?

I am trying to decrease the height of a react mui table row with the following methods:

Firstly, in index.css:

tr{
    height:20px;
}

Secondly, in source code app.js:

...
<TableRow style={{height: 5}}>
    <TableCell>
        hello
    </TableCell>
    <TableCell>
        hello
    </TableCell>
</TableRow>
...

And the makeStyle and useStyle methods of @mui/styles.

All the methods can succeed, but the problem is that, if I decrease the height below a certain value, then it stops working. All I have in the table are texts, and the program refuses to decrease table row height even when we can still see a wide margin between the text and the table row separation line.

Is there a way to force mui to decrease the row height below this value? Do we have the option to decrease the height all the way to zero (even though that will make text invisible)?

almost 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda