govuk_publishing_components 27.9.1 → 27.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +4 -4
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84421d91c40a900cecce84bc40059fc02803fbdb42173e03a590dc2b26904353
|
4
|
+
data.tar.gz: a23db6521a6481c233984680d2eb3c166f07b1ed321e6bf7ec6ca5e0e392b36b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c0ea74bb2365e4bd1ee66768566f96a4655f9dcfc0e369723b79bb8814c3b9e882611c45db1853552a2407ae0ae30f38dd733e27107fdadd120916d410be23
|
7
|
+
data.tar.gz: 49d57ddc1d28d67b450d1e1211195511fb93c87ed05fae9887a58c17a8617e804b8ee497978bc9a03fcb34f6fffe251795158f722e6b63398f489e0e2f1ba449
|
data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js
CHANGED
@@ -233,8 +233,6 @@ window.GOVUK.Modules = window.GOVUK.Modules || {};
|
|
233
233
|
// The menu needs to be updated when the window is resized to make sure that
|
234
234
|
// the space needed for the dropdown menu is correct.
|
235
235
|
window.addEventListener('resize', this.updateStates.bind(this), { passive: true })
|
236
|
-
|
237
|
-
this.$module.classList.add('js-module-initialised')
|
238
236
|
}
|
239
237
|
|
240
238
|
Modules.SuperNavigationMegaMenu = SuperNavigationMegaMenu
|
@@ -225,7 +225,7 @@ $chevron-indent-spacing: 7px;
|
|
225
225
|
display: inline-block;
|
226
226
|
}
|
227
227
|
|
228
|
-
.js-
|
228
|
+
.js-enabled & {
|
229
229
|
padding: 0 0 govuk-spacing(9) 0;
|
230
230
|
|
231
231
|
@include govuk-media-query($from: "desktop") {
|
@@ -367,7 +367,7 @@ $chevron-indent-spacing: 7px;
|
|
367
367
|
}
|
368
368
|
|
369
369
|
.gem-c-layout-super-navigation-header__navigation-item-link {
|
370
|
-
.js-
|
370
|
+
.js-enabled & {
|
371
371
|
margin-left: govuk-spacing(4);
|
372
372
|
}
|
373
373
|
}
|
@@ -535,7 +535,7 @@ $chevron-indent-spacing: 7px;
|
|
535
535
|
padding-bottom: govuk-spacing(4);
|
536
536
|
padding-top: govuk-spacing(4);
|
537
537
|
|
538
|
-
.js-
|
538
|
+
.js-enabled & {
|
539
539
|
display: block;
|
540
540
|
}
|
541
541
|
}
|
@@ -856,7 +856,7 @@ $chevron-indent-spacing: 7px;
|
|
856
856
|
@include govuk-media-query($from: "desktop") {
|
857
857
|
margin: 0;
|
858
858
|
|
859
|
-
.js-
|
859
|
+
.js-enabled & {
|
860
860
|
left: 0;
|
861
861
|
position: absolute;
|
862
862
|
right: 0;
|