angular / angular/components

[Tabs] Header with icon+text not vertically aligned

Aperta
#10,141 8 commenti 5 reazioni 0 assegnatari Vedi su GitHub
area: material/tabs P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

#### Bug, feature request, or proposal:
Tab with Icon and Text label not aligned vertically center, currently aligned bottom

#### What is the expected behavior?
Expect to align text and icon in middle. (as In Button with Icon and Label)
Tab Label and Icon are aligned in
screen shot 2018-02-25 at 8 56 32 pm

#### What is the current behavior?
Tab with Icon and Text label not aligned vertically center, currently aligned bottom

#### What are the steps to reproduce?
Providing a StackBlitz reproduction is the *best* way to share your issue.

StackBlitz starter: https://goo.gl/wwnhMV

https://stackblitz.com/angular/rlqokrmnevel?file=app%2Ftabs-template-label-example.html

```


attach_file Attach File


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla venenatis ante augue.
#### What is the use-case or motivation for changing an existing behavior?

```

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@5.2.2

#### Is there anything else we should know?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la riproduzione StackBlitz collegata e ispeziona il template mat-tab-label contenente mat-icon e il testo Attach File. Confronta il suo allineamento con il comportamento segnalato del pulsante, quindi verifica che l'icona e l'etichetta siano centrate verticalmente senza modificare il comportamento del contenuto della scheda.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.