From 5857d8fb44d614047d43838be8c52bbbe2dbff55 Mon Sep 17 00:00:00 2001 From: Ioannis Kokkinidis Date: Wed, 7 Nov 2018 14:58:44 +0200 Subject: [PATCH] feat: hide single day header with css (#1019) * No longer hiding the header when we only show one day * Now hiding header w/ css --- src/TimeGridHeader.js | 13 +++++++------ src/less/time-column.less | 4 ++++ src/less/time-grid.less | 4 ++++ 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/TimeGridHeader.js b/src/TimeGridHeader.js index 158be899c..1562473eb 100644 --- a/src/TimeGridHeader.js +++ b/src/TimeGridHeader.js @@ -175,12 +175,13 @@ class TimeGridHeader extends React.Component { )} - {/* For rendering only one day no need to show the headers */} - {range.length > 1 && ( -
- {this.renderHeaderCells(range)} -
- )} +
+ {this.renderHeaderCells(range)} +