@internetstiftelsen/styleguide 2.21.7 → 2.21.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetstiftelsen/styleguide",
3
- "version": "2.21.7",
3
+ "version": "2.21.8",
4
4
  "main": "dist/components.js",
5
5
  "ports": {
6
6
  "fractal": "3000"
@@ -231,7 +231,8 @@
231
231
  margin-left: -16px;
232
232
  }
233
233
 
234
- &[aria-hidden='true'] {
234
+ &[aria-hidden='true'],
235
+ &:not([aria-hidden]) {
235
236
  display: none;
236
237
  }
237
238
 
@@ -257,3 +258,11 @@
257
258
  }
258
259
  }
259
260
  }
261
+
262
+ .no-js {
263
+ @include atom(main-menu) {
264
+ @include e(subnav) {
265
+ display: block;
266
+ }
267
+ }
268
+ }