fix(datetime): add top padding to MD calendar month grid (#24522)

Resolves #24408
This commit is contained in:
Sean Perkins
2022-01-06 12:12:36 -05:00
committed by GitHub
parent 987d46cfa6
commit bd82b5dc1d

View File

@ -54,7 +54,12 @@
// Calendar / Body // Calendar / Body
// ----------------------------------- // -----------------------------------
:host .calendar-body .calendar-month .calendar-month-grid { :host .calendar-body .calendar-month .calendar-month-grid {
@include padding(0px, 10px, 0px, 10px); /**
* 3px top padding adds enough spacing at
* the top of the container for the selected
* day box shadow to display without clipping.
*/
@include padding(3px, 10px, 0px, 10px);
/** /**
* Calendar on MD will show an empty row * Calendar on MD will show an empty row