Roo/calendar/View.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:12:53 +0000 (20:12 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:12:53 +0000 (20:12 +0800)
Roo/calendar/View.js

index 18e3f50..47218b0 100644 (file)
@@ -717,7 +717,7 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                 var firstEvent = cg.child('>fc-event').first() || false;
                 
                 if(firstEvent){
-                    firstEvent.setStyle('padding-top', ev.row * 20 + 'px');
+                    firstEvent.setStyle('margin-top', ev.row * 20 + 'px');
                 }