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

some fixed motivated by timeline

Adam Shaw пре 5 година
родитељ
комит
de98532ffa

+ 1 - 1
packages-premium

@@ -1 +1 @@
-Subproject commit 9e887e3241397199220700caa61e639e16d32153
+Subproject commit bb5fe16ae8702e7f55cd2d9162b9d76cdac572b1

+ 4 - 4
packages/core/src/component/date-rendering.tsx

@@ -59,20 +59,20 @@ export function getDayClassNames(meta: DateMeta, theme: Theme) {
 
 export function getSlotClassNames(meta: DateMeta, theme: Theme) {
   let classNames: string[] = [
-    'fc-slat' // TODO: rename to "slot" or "slot-label"
+    'fc-slot'
   ]
 
   if (meta.isToday) {
-    classNames.push('fc-slat-today')
+    classNames.push('fc-slot-today')
     classNames.push(theme.getClass('today'))
   }
 
   if (meta.isPast) {
-    classNames.push('fc-slat-past')
+    classNames.push('fc-slot-past')
   }
 
   if (meta.isFuture) {
-    classNames.push('fc-slat-future')
+    classNames.push('fc-slot-future')
   }
 
   return classNames

+ 1 - 1
packages/timegrid/src/TimeColsView.tsx

@@ -68,7 +68,7 @@ export default abstract class TimeColsView extends View {
         outerContent: (
           <tr>
             <td
-              class={'fc-divider ' + context.theme.getClass('tableCellShaded')}
+              class={'fc-timegrid-view-divider fc-divider ' + context.theme.getClass('tableCellShaded')}
             />
           </tr>
         )