Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(datepicker): Set vertical align on datepicker tables
Browse files Browse the repository at this point in the history
Closes #7278
  • Loading branch information
jshoudy11 authored and ThomasBurleson committed Mar 1, 2016
1 parent eb33c37 commit abde470
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/datepicker/calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,11 @@ md-calendar {
&:first-child {
border-top: 1px solid transparent;
}

// Explicitly set vertical-align to avoid conflicting with popular CSS resets. When
// vertical-align:baseline is set, month headers are misaligned.
// http://meyerweb.com/eric/tools/css/reset/
tbody, td, tr {
vertical-align: middle;
}
}

0 comments on commit abde470

Please sign in to comment.