Skip to content

Commit

Permalink
Get collapsing to work properly on overview expectation_type content …
Browse files Browse the repository at this point in the history
…block
  • Loading branch information
abegong committed Jun 30, 2019
1 parent ee663c6 commit a5545d4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions great_expectations/render/renderer/other_section_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,26 +127,27 @@ def _render_expectation_types(cls, evrs, content_blocks):

content_blocks.append({
"content_block_type": "bullet_list",
"header": "Expectation types",
"header": 'Expectation types <span class="mr-3 triangle"></span>',
"bullet_list": bullet_list,
"styling": {
"classes": ["col-12"],
"styles": {
"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": {
"cursor": "pointer"
}
},
"body": {
"classes": ["list-group"],
"classes": ["list-group", "collapse"],
},
},
})
Expand Down

0 comments on commit a5545d4

Please sign in to comment.