+
-
@@ -42,15 +42,13 @@ export default {
paddingHeight: 0,
backLink: "",
buttonText: "",
+ currentYear: new Date().getFullYear(),
}
},
mounted() {
this.paddingHeight = document.getElementById("infoBox").offsetHeight + 24;
this.$nextTick(() => {
window.addEventListener('resize', this.onResize);
- })
- this.$nextTick(function () { // Give it a moment to set the date
- document.getElementById('years').innerHTML += new Date().getFullYear();
this.checkHeight();
})
},
@@ -76,8 +74,8 @@ export default {
}
},
initializeComponent(cmsContent) {
- this.buttonText = cmsContent.BackButtonText;
- this.backLink = cmsContent.ForwardButtonText;
+ this.backLink = cmsContent.BackButtonText;
+ this.buttonText = cmsContent.ForwardButtonText;
},
buttonClick() {
this.$emit("forwardClicked");
diff --git a/src/styles/common-styles.scss b/src/styles/common-styles.scss
index ae409dd36..8d7133884 100644
--- a/src/styles/common-styles.scss
+++ b/src/styles/common-styles.scss
@@ -6,6 +6,7 @@ body {
.container-fluid {
max-width: 576px; //Remove once desktop app is complete
+ // min-width: 360px;
&.container-shadow {
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15); //Use instead of Bootstrap's helper
}