Skip to content

Commit

Permalink
Fix date picker 24hour tab order (#11863)
Browse files Browse the repository at this point in the history
* removed is24hour class, move markup for month and day  to render methods and use some logic to determine logical order

* update snapshots to test the is12Hour boolean.
  • Loading branch information
Luciaisacomputer authored and talldan committed Jan 22, 2019
1 parent 6d5a537 commit 705e57e
Show file tree
Hide file tree
Showing 4 changed files with 761 additions and 56 deletions.
6 changes: 0 additions & 6 deletions packages/components/src/date-time/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,6 @@
border-radius: 0 $radius-round-rectangle $radius-round-rectangle 0 !important;
}
}

&.is-24-hour {
.components-datetime__time-field-day {
order: 0 !important;
}
}
}

.components-datetime__time-legend {
Expand Down
Loading

0 comments on commit 705e57e

Please sign in to comment.