Преглед изворни кода

further adjust event spacing to match older versions

Adam Shaw пре 11 година
родитељ
комит
a1995a85de
2 измењених фајлова са 8 додато и 1 уклоњено
  1. 6 0
      src/agenda/agenda.css
  2. 2 1
      src/common/common.css

+ 6 - 0
src/agenda/agenda.css

@@ -170,6 +170,11 @@ be a descendant of the grid when it is being dragged.
 	z-index: 2; /* above the bg */
 }
 
+.fc-time-grid-event .fc-time,
+.fc-time-grid-event .fc-title {
+	padding: 0 1px;
+}
+
 .fc-time-grid-event .fc-time {
 	font-size: .85em;
 	white-space: nowrap;
@@ -210,6 +215,7 @@ be a descendant of the grid when it is being dragged.
 
 .fc-time-grid-event.fc-short .fc-title {
 	font-size: .85em; /* make the title text the same size as the time */
+	padding: 0; /* undo padding from above */
 }
 
 /* resizer */

+ 2 - 1
src/common/common.css

@@ -455,6 +455,7 @@ be a descendant of the grid when it is being dragged.
 
 .fc-day-grid-event {
 	margin: 1px 2px 0; /* spacing between events and edges */
+	padding: 0 1px;
 }
 
 tr:first-child > td > .fc-day-grid-event {
@@ -516,7 +517,7 @@ tr:first-child > td > .fc-day-grid-event {
 /* "more" link that represents hidden events */
 
 a.fc-more {
-	margin: 1px 2px;
+	margin: 1px 3px;
 	font-size: .85em;
 	cursor: pointer;
 	text-decoration: none;