Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
¿Cómo evitar que el contenido de envoltura del cajón de navegación vuetify?

Estoy haciendo un vuetify v-navigation-drawer con dos listas.

Si mi ventana tiene suficiente altura, las dos listas se ven bien así:

cajón

Pero si cambio el tamaño de la altura de mi ventana para que sea más corta, la segunda lista se ajusta al final como esta imagen:

cajón envuelto

Mi plantilla de cajón es:

 <v-navigation-drawer id="nav1" permanent clipped app :width="drawerWidth" > <v-row class="fill-height" no-gutters> <v-col> <v-navigation-drawer id="nav2" permanent :mini-variant="isMiniVariant"> <v-list> <v-list-item-group v-model="selectedId" mandatory> <v-list-item v-for="(item, i) in mainItems" :key="i" > <v-list-item-icon> <v-icon>{{ item.icon }}</v-icon> </v-list-item-icon> <v-list-item-content> <v-list-item-title v-text="item.name" /> </v-list-item-content> </v-list-item> </v-list-item-group> </v-list> </v-navigation-drawer> </v-col> <v-col> <v-list width="56px" style="background-color: darkred" > <v-list-item-group> <v-list-item v-for="(s, index) in subFunctions" :key="s.name" :value="index" style="padding-left: 0px; padding-right: 0px" > <v-icon style="margin: 16px">{{ s.icon }}</v-icon> </v-list-item> </v-list-item-group> </v-list> </v-col> </v-row> </v-navigation-drawer>

Quiero que la lista correcta no se ajuste, incluso si la barra de desplazamiento está visible. ¿Cómo podría lograr esto?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Descubrí que la barra de desplazamiento es generada por v-row .

El estilo predeterminado de v-row tiene un atributo de flex-wrap: auto , por lo que tengo que modificar mi v-row para que tenga style="flex-wrap: nowrap" .

Ahora, dado que no hay barra de desplazamiento, el v-col derecho ya no se ajustará.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!