Open aritragster opened 8 years ago
have the same issue here
temporary workaround:
Template.<layout>.created = function () {
var self = this;
self.minHeight = new ReactiveVar($(window).height() - $('.main-header').height() - 50);
$(window).resize(function () {
self.minHeight.set($(window).height() - $('.main-header').height() - 50);
});
};
Template.<layout>.helpers({
minHeight: function () {
return Template.instance().minHeight.get() + 'px'
}
});
(assuming footer to be 50 px. Replace
I think you have a mistake on the first line;
Template.<layout>.created = function () {
Shouldn't be Template.<layout>.onCreated = function () {
My app is coming upto the half portion of screen only. Can you please let me know why the min-height property of body is not working?