Added support for smaller screens (if needed)

pull/4/head
Mark McDowall 11 years ago
parent e2bf6fd6a4
commit 7473b493c1

@ -30,9 +30,6 @@ define(
onShow: function () { onShow: function () {
this.$('.fc-button-today').click(); this.$('.fc-button-today').click();
this.$el.fullCalendar('render');
this.$('.fc-day-header').css('width: 14.3%');
}, },
_viewRender: function (view) { _viewRender: function (view) {
@ -41,7 +38,6 @@ define(
} }
this._getEvents(view); this._getEvents(view);
this.$('.fc-day-header').css('width: 14.3%');
}, },
_eventRender: function (event, element) { _eventRender: function (event, element) {

@ -3,7 +3,8 @@
@nzbdronePurple: #7932ea; @nzbdronePurple: #7932ea;
@droneTeal: #35c5f4; @droneTeal: #35c5f4;
//@tn: ~'(max-width: @{screen-tn-max})'; @screen-tn-max: @screen-xs-min - 1;
@tn: ~'(max-width: @{screen-tn-max})';
@xs: ~'(min-width: @{screen-xs-max}) and (max-width: @{screen-xs-max})'; @xs: ~'(min-width: @{screen-xs-max}) and (max-width: @{screen-xs-max})';
@sm: ~'(min-width: @{screen-sm-min}) and (max-width: @{screen-sm-max})'; @sm: ~'(min-width: @{screen-sm-min}) and (max-width: @{screen-sm-max})';
@md: ~'(min-width: @{screen-md-min}) and (max-width: @{screen-md-max})'; @md: ~'(min-width: @{screen-md-min}) and (max-width: @{screen-md-max})';

Loading…
Cancel
Save