Kaynağa Gözat

last minute css changes (ie sucks)

Adam Shaw 17 yıl önce
ebeveyn
işleme
b5e2a24619
3 değiştirilmiş dosya ile 9 ekleme ve 8 silme
  1. 2 1
      examples/basic.html
  2. 3 4
      fullcalendar.css
  3. 4 3
      fullcalendar.js

+ 2 - 1
examples/basic.html

@@ -60,7 +60,8 @@
 					end: new Date(y, m, 29),
 					url: "http://facebook.com/"
 				}
-			]
+			],
+			rightToLeft: false
 		});
 		
 	});

+ 3 - 4
fullcalendar.css

@@ -1,9 +1,8 @@
 
 /* top area w/ month title and buttons */
-	
+
 .full-calendar-title {
-	float: left;
-	margin: 0 0 1em;
+	text-align: left;
 	}
 	
 .full-calendar-buttons {
@@ -142,7 +141,7 @@
 /* right-to-left support */
 
 .r2l .full-calendar-title {
-	float: right;
+	text-align: right;
 	}
 	
 .r2l .full-calendar-buttons {

+ 4 - 3
fullcalendar.js

@@ -96,9 +96,6 @@
 			var titleElement, todayButton, monthElement, monthElementWidth;
 			var header = $("<div class='full-calendar-header'/>").appendTo(this);
 			
-			if (options.title !== false)
-				titleElement = $("<h2 class='full-calendar-title'/>").appendTo(header);
-			
 			if (bo) {
 				var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
 				var prevButton, nextButton;
@@ -123,9 +120,13 @@
 					else buttons.append(nextButton);
 				}
 			}
+			
+			if (options.title !== false)
+				titleElement = $("<h2 class='full-calendar-title'/>").appendTo(header);
 		
 			monthElement = $("<div class='full-calendar-month' style='position:relative'/>")
 				.appendTo($("<div class='full-calendar-month-wrap'/>").appendTo(this));
+