diff --git a/cms/jinja2/component_overrides/header/_macro.njk b/cms/jinja2/component_overrides/header/_macro.njk
index 4f0ef431..dec9598f 100644
--- a/cms/jinja2/component_overrides/header/_macro.njk
+++ b/cms/jinja2/component_overrides/header/_macro.njk
@@ -151,16 +151,14 @@
{% for item in params.navLinks.keyLinksList %}
- {# In the new header, nav items can have text and no link - later we would want to test that both are present before outputting an li #}
- {% if item.text %}
+ {% if item.text and item.url %}
-
- {% if item.url %}
+
+
{% if item.description %}
{{ item.description }}
{% endif %}
@@ -176,39 +174,29 @@
{% for item in params.navLinks.itemsList %}
-
{% for link in item.linksList %}
- {# In the new header, nav items can have text and no link - later we would want to test that both are present before outputting a heading link #}
- {% if link.text %}
- {% if link.url %}
+ {% if link.text and link.url %}
+
- {% endif %}
+
{% endif %}
{% if link.children %}
{% for child in link.children %}
- {# In the new header, nav items can have text and no link - later we would want to test that both are present before outputting an li #}
- {% if child.text %}
+ {% if child.text and child.url %}
-
- {% if child.url %}
-
- {% endif %}
+
{% endif %}
{% endfor %}
diff --git a/cms/static_src/sass/components/design_system_overrides/_grid.scss b/cms/static_src/sass/components/design_system_overrides/_grid.scss
index 7e53d4f0..c78000ea 100644
--- a/cms/static_src/sass/components/design_system_overrides/_grid.scss
+++ b/cms/static_src/sass/components/design_system_overrides/_grid.scss
@@ -40,3 +40,14 @@ Adds custom gap values to match the designs
}
/* stylelint-enable selector-class-pattern */
}
+
+/* stylelint-disable selector-class-pattern */
+// Note that in the design system, this needs to be defined for all column and gap variations
+.ons-col-4\@m {
+ @include media-query('m') {
+ max-width: calc(33.333333333% - rem-sizing(40));
+ width: calc(33.333333333% - rem-sizing(40));
+ flex-basis: calc(33.333333333% - rem-sizing(40));
+ }
+}
+/* stylelint-enable selector-class-pattern */