diff --git a/frontend/package.json b/frontend/package.json index 2c17e7c4..4e6dd7da 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "frontend", - "version": "1.1.0-beta.3", + "version": "1.1.0-beta.4", "private": true, "dependencies": { "@fortawesome/fontawesome-svg-core": "^1.2.34", diff --git a/frontend/src/components/SiteContainer.tsx b/frontend/src/components/SiteContainer.tsx index c5dd89e6..0d88e471 100644 --- a/frontend/src/components/SiteContainer.tsx +++ b/frontend/src/components/SiteContainer.tsx @@ -175,8 +175,9 @@ export default class SiteContainer extends Component { async getCalendar() { const inputDate = new Date(); // Used for fiddling: + // NOTE: Do NOT allow code into production where these value are uncommented //inputDate.setDate(26); - //inputDate.setMonth(2); + //inputDate.setMonth(7); //inputDate.setFullYear(2021); // Get which week it is const weekChecker = new IsItWeekA(this.props.weekMarkerDate, this.props.calendarURL, inputDate); @@ -199,7 +200,7 @@ export default class SiteContainer extends Component {

It is neither Week A nor B.

This means it's probably a holiday.

-
If you believe this is in error, please email info@isitweeka.com
+
If you believe this is in error, please email info@isitweeka.com
); diff --git a/frontend/src/scss/jumbotron.scss b/frontend/src/scss/jumbotron.scss index 33aad3cc..f2d9f677 100644 --- a/frontend/src/scss/jumbotron.scss +++ b/frontend/src/scss/jumbotron.scss @@ -21,4 +21,11 @@ justify-content: center !important; transform: scale(0.8) translate(0, 60px) !important; } +} + +// Control the styling of the "if you believe this is in error, please contact " shown +// when the system can't detect A or B +// Without this it is inline-flex and so on mobile looks incorecct as the email link and header text don't appear as one line - see issue #35 +#neitherAB-contact { + display: block; } \ No newline at end of file