chore: styling for login/signup pages

This commit is contained in:
Kyle Gill
2019-04-03 17:10:24 -06:00
parent 4c41094348
commit 4c485619a9
10 changed files with 203 additions and 91 deletions

View File

@@ -4,6 +4,7 @@ import styled from "@emotion/styled"
import {
isAfter,
isThisYear,
isThisMonth,
format,
addMonths,
subMonths,
@@ -52,7 +53,7 @@ class Month extends Component {
let yearCards = []
for (let i = 0; i < getDaysInMonth(currentDay); i++) {
const isDisabled = dayIndexesToInclude <= i
const isDisabled = dayIndexesToInclude <= i && isThisMonth(currentDay)
if (isDisabled) {
yearCards.push(
<YearCard disabled={isDisabled} key={i}>