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

105
Vistas
No scroll on the x direction

I am using this javascript to zoom in:

function zoomin() {
var GFG = document.getElementsByClassName("ImageClass")[0];
var currWidth = GFG.clientWidth;
GFG.style.width = (currWidth + 100) + "px";}

The class "ImageClass" is directly located on an image

I have the following CSS:

.list-size {
width: 700px;
max-width: 700px;
height: 700px;
max-height: 700px;
overflow-y: scroll;
overflow-x: scroll;
text-align: center;
vertical-align: baseline;}

.ImageClass {
max-width: 2000px;
max-height: 2000px;}

the class "list-size" is colocated on a div that encloses several divs and end up enclosing the image.

When I zoom in, the vertical scroll appear but the horizontal scroll does not.

Can someone help?

Thanks

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

0

just needed to add style "display: flex" to the "list-size" class

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