Просмотр исходного кода

fixed css height problem when dragging event from all-day to times slot

Adam Shaw 15 лет назад
Родитель
Сommit
a2e1de5d3d
2 измененных файлов с 3 добавлено и 10 удалено
  1. 0 5
      src/agenda/agenda.css
  2. 3 5
      src/common/common.css

+ 0 - 5
src/agenda/agenda.css

@@ -93,11 +93,6 @@
 	border-width: 0 1px;
 	}
 	
-.fc-event-vert .fc-event-inner {
-	display: block; /* might be an <a> */
-	height: 100%;
-	}
-	
 .fc-event-vert .fc-event-head,
 .fc-event-vert .fc-event-content {
 	position: relative;

+ 3 - 5
src/common/common.css

@@ -154,6 +154,9 @@
 	
 .fc-event-inner {
 	position: relative;
+	display: block; /* might be an <a> tag */
+	width: 100%;
+	height: 100%;
 	border-style: solid;
 	border-width: 0;
 	text-decoration: none;
@@ -183,11 +186,6 @@
 	margin-bottom: 1px;
 	}
 	
-.fc-event-hori .fc-event-inner {
-	display: block; /* might be an <a> tag */
-	width: 100%; /* needed for fake rounded corners in IE6/7 */
-	}
-	
 /* resizable */
 	
 .fc-event-hori .ui-resizable-e {