tiaguinho / material-community-components

:panda_face: Angular Material Components created from the community

Home Page:https://tiaguinho.github.io/material-community-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

time-picker: wrong digit position in 24h format when 00:00 selected

RafalOddslife opened this issue · comments

Describe the bug
When you set time picker to 00:00 time in 24h mode it has space before hours which breaks layout.
I believe it's related to:

  • #159
  • <span><span *ngIf="needsSpacer">&nbsp;&nbsp;</span>{{ hour }}</span>

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://tiaguinho.github.io/material-community-components/timer-picker
  2. Click on time picker in the "Convert value to 24h" card.
  3. Set time 00:00
  4. See error

Screenshots
image