@worksafevictoria/wcl7.5 1.17.0-beta.7 → 1.17.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -351,6 +351,7 @@ import CtaButton from '../../SubComponents/CtaButton/index.vue'
|
|
|
351
351
|
import chevronIcon from '../../../assets/icons/caret-right.svg?url'
|
|
352
352
|
import { ref } from "vue";
|
|
353
353
|
|
|
354
|
+
|
|
354
355
|
export default {
|
|
355
356
|
setup() {
|
|
356
357
|
const show = ref(false);
|
|
@@ -613,7 +614,7 @@ export default {
|
|
|
613
614
|
},
|
|
614
615
|
|
|
615
616
|
showMobileMenu() {
|
|
616
|
-
|
|
617
|
+
// Reset screen to top to fix whitespace issues
|
|
617
618
|
if (window) {
|
|
618
619
|
window.scrollTo(0, 0)
|
|
619
620
|
}
|
|
@@ -776,7 +777,13 @@ export default {
|
|
|
776
777
|
.getElementsByTagName('a')[0]
|
|
777
778
|
.setAttribute('aria-expanded', 'false')
|
|
778
779
|
this.isSecondLevelOpen = false
|
|
780
|
+
this.closeMegaMenu()
|
|
781
|
+
this.$nextTick(() => {
|
|
782
|
+
this.showMobileMenu()
|
|
783
|
+
})
|
|
784
|
+
|
|
779
785
|
}
|
|
786
|
+
|
|
780
787
|
},
|
|
781
788
|
searchFocus(index, length, event) {
|
|
782
789
|
if (index === length - 1 && this.isMobileMenuOpen && !event.shiftKey) {
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
margin-left: 10px;
|
|
187
187
|
|
|
188
188
|
span {
|
|
189
|
-
color: $app-
|
|
189
|
+
color: $app-menu-white;
|
|
190
190
|
font-size: 18px !important;
|
|
191
191
|
}
|
|
192
192
|
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
border-bottom: none;
|
|
249
249
|
|
|
250
250
|
span {
|
|
251
|
-
color: $app-
|
|
251
|
+
color: $app-menu-white;
|
|
252
252
|
|
|
253
253
|
&:hover,
|
|
254
254
|
&:focus {
|