The HeightSpec value can't be set dynamically using CSS.
However, if you use HeightSpec="Parent100Pct" it will automatically adjust the Scheduler height to match the height of the parent element. Just set the height of the parent element (using CSS) and it will be used for the Calendar/Scheduler as well.