Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bootstrap accordion block #67

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

ev-sc
Copy link
Member

@ev-sc ev-sc commented Feb 7, 2023

Fixes STW-27

This adds a custom block with a bootstrap accordion template.

  • The block takes a text title and RichTextBlock or PersonListBlock as content
  • Takes styling from the site theme
Screencast.from.2023-02-09.10-32-24.webm

@linear
Copy link

linear bot commented Feb 9, 2023

STW-27 Add an accordion feature to page elements

could we add accordion feature to page elements (ie: text, cta, person listing, organisation listing, alert) as a default? it'll allow for a web user to shorten a webpage to the bits they want to see.
example of a page that would benefit from this: https://www.stop-watch.org/what-we-do/projects/girls-women-project/

Originally posted by HabKadSW in https://github.com/commonknowledge/stopwatch/issues/35#issuecomment-1237075612

Copy link
Member

@janbaykara janbaykara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ev-sc ev-sc merged commit f95c703 into main Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants