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

192
Vistas
MaterialUI show and hide the Container's gutters based on breakpoints

I want to disable the gutters for xs, sm and md. And to enable them at xl and beyond.

However this doesn't work.

    <Container maxWidth={"xl"} disableGutters={{ xs: true, xl: false }}>

Am I doing something wrong–because the API mentions that a boolean can be passed to disableGutters?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

The disableGutters prop only accepts a boolean, so you are using the API wrong.

Container API - Props

Name Type Default Description
disableGutters bool false If true, the left and right padding is removed.

So your code must look something like this

<Container maxWidth={"xl"} disableGutters={false}>
about 4 years ago · Juan Pablo Isaza Denunciar
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