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

155
Views
Cómo mover un botón al lado derecho del contenedor en Material design

Estoy tratando de obtener un botón para moverme hacia el lado derecho del contenedor, usé varios formularios pero no puedo obtenerlo, de alguna manera el style="float: right;"

Tal vez esto no sea una cosa, Material design, no tengo experiencia en desarrollos front-end.


ingrese la descripción de la imagen aquí

 <md-toolbar color="primary"> <span><md-icon>mood</md-icon></span> <span>Material in Angular 2!</span> <button md-icon-button style="float: left;" [md-menu-trigger-for]="menu"> <md-icon style="float: left;">more_vert</md-icon> </button> </md-toolbar>

ingrese la descripción de la imagen aquí

 <button md-icon-button style="float: right;" [md-menu-trigger-for]="menu"> <md-icon style="float: right;">more_vert</md-icon>

Me gustaría moverlo aquí. Lo siento por mi mal inglés. Espero que puedas entenderme.

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Te estás perdiendo la clase en el texto <span> que le permite llenar el espacio:

Ver ejemplo completo aquí.

 .example-fill-remaining-space { // This fills the remaining space, by using flexbox. // Every toolbar row uses a flexbox row layout. flex: 1 1 auto; }
 <md-toolbar color="primary"> <span>Application Title</span> <!-- This fills the remaining space of the current row --> <span class="example-fill-remaining-space"></span> <span>Right Aligned Text</span> </md-toolbar>

over 4 years ago · Santiago Trujillo 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!