diff --git a/great_expectations/render/renderer/other_section_renderer.py b/great_expectations/render/renderer/other_section_renderer.py index 32d972587460..7598e13459d4 100644 --- a/great_expectations/render/renderer/other_section_renderer.py +++ b/great_expectations/render/renderer/other_section_renderer.py @@ -127,7 +127,7 @@ def _render_expectation_types(cls, evrs, content_blocks): content_blocks.append({ "content_block_type": "bullet_list", - "header": "Expectation types", + "header": 'Expectation types ', "bullet_list": bullet_list, "styling": { "classes": ["col-12"], @@ -135,10 +135,11 @@ def _render_expectation_types(cls, evrs, content_blocks): "margin-top": "20px" }, "header": { + "classes": ["collapsed"], "attributes": { "data-toggle": "collapse", - "href": "#section-1-content-block-5-body", - "aria-expanded": "false", + "href": "#{{content_block_id}}-body", + "aria-expanded": "true", "aria-controls": "collapseExample", }, "styles": { @@ -146,7 +147,7 @@ def _render_expectation_types(cls, evrs, content_blocks): } }, "body": { - "classes": ["list-group"], + "classes": ["list-group", "collapse"], }, }, })