harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
37 stars 30 forks source link

Expand/collapse button should only appear if there are expandable items #1762

Closed lizadaly closed 1 year ago

lizadaly commented 2 years ago

This is minor but:

In this test casebook, there are no subsections, so it's confusing to display an expand/contract element when there's no work to be done:

image