Skip to content

Commit

Permalink
πŸ‘Œ Add collapse button to clean_xxx layouts (#1187)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored May 31, 2024
1 parent eee2eb4 commit 483c983
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sphinx_needs/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@

LAYOUT_COMMON_SIDE = {
"side": ['<<image("field:image", align="center")>>'],
"head": ['<<meta("type_name")>>: **<<meta("title")>>** <<meta_id()>>'],
"head": [
'<<meta("type_name")>>: **<<meta("title")>>** <<meta_id()>> '
'<<collapse_button("meta", collapsed="icon:arrow-down-circle", visible="icon:arrow-right-circle", initial=False)>> '
],
"meta": ["<<meta_all(no_links=True)>>", "<<meta_links_all()>>"],
}

Expand Down

0 comments on commit 483c983

Please sign in to comment.