(css) Improve Calendar views

This commit is contained in:
Francis Lachapelle
2015-09-19 22:22:39 -04:00
parent 258f5e0b25
commit 2a5e19a762
3 changed files with 34 additions and 11 deletions
@@ -62,6 +62,12 @@
right -= 5;
}
// Add some padding (2%)
if (left === 0)
left = 2;
if (right === 0)
right = 2;
// Set position
iElement.css('left', left + '%');
iElement.css('right', right + '%');