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

298
Views
El enfriador angular de salida del enrutador no ocupa todo el ancho

Tengo una salida de enrutador en un componente. El componente secundario no ocupa todo el ancho. Traté de darle al div del niño ancho: 100%, ancho mínimo: 100%, también con !importante, pero no funciona. ¿Cómo puedo obligar al div del niño a tomar todo el ancho disponible? HTML principal:

 <div fxLayout="column" fxLayoutAlign="space-between stretch"> <div> ... </div> <div fxLayout="row" fxFlexFill> <div class="navbar" fxLayout="column"> </div> <div class="mainDiv" fxFlex> <router-outlet></router-outlet> </div> </div> <div fxLayoutAlign="end"></div> </div>

CSS principal:

 .navbar { padding-top: 40px; padding-right: 80px; border-top: none; } .mainDiv { width: 100%; border-top: none; }

Niño CSS:

 <div class="container">...</div>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Intente configurar la salida del enrutador dentro de un div sin usar flex:

 <div style="width: 100%;height: 100%"> <router-outlet ></router-outlet> </div>
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!