Skip to content

Commit

Permalink
revert: "fix(daypicker): fix daypicker footer (#114)"
Browse files Browse the repository at this point in the history
This reverts commit 92c1ff0.
  • Loading branch information
Rachel Mulvey committed Aug 20, 2019
1 parent 2b4fe01 commit 7167f78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions src/components/DayPicker/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,7 @@ const Footer = ({
}}
>
<span css={preFooterTextStyle}>{preFooterInfo}</span>
{preFooterDisclaimer &&
priceInPoints &&
endDateData.price.isClassic ? (
{preFooterDisclaimer && priceInPoints ? (
<span css={topDisclaimerStyle()}>
{preFooterDisclaimer}
</span>
Expand Down Expand Up @@ -242,7 +240,7 @@ const Footer = ({
? '#009400'
: colours.darkerGrey,
fontWeight: fontWeight.bold,
margin: '0 5px'
padding: '0 5px'
}}
>
<span>
Expand All @@ -254,15 +252,15 @@ const Footer = ({
)}
</span>
{endDateData && priceInPoints ? (
<span css={{ marginLeft: '5px' }}>{pointsLabel}</span>
<span css={{ paddingLeft: '5px' }}>
{pointsLabel}
</span>
) : null}
</span>
</span>
)}

{bottomFooterDisclaimer &&
priceInPoints &&
endDateData.price.isClassic ? (
{bottomFooterDisclaimer && priceInPoints ? (
<div css={bottonDisclaimerStyle()}>
<span>+</span>
<span>{bottomFooterDisclaimer}</span>
Expand Down

0 comments on commit 7167f78

Please sign in to comment.