CityOfDetroit / COD-Design-System

Design system for the City of Detroit.
https://cityofdetroit.github.io/COD-Design-System/
MIT License
1 stars 3 forks source link

Support long content in offcanvas body #240

Closed maxatdetroit closed 4 months ago

maxatdetroit commented 4 months ago

Fixes #229

cod-offcanvas-body component was not allowing overflow for its content.

This PR:

Note: This conflict of styles between the responsive offcanvas nav bar and the offcanvas components is a good reason why we need to reduce dependencies across components.

Testing

Test out responsive navbar and offcanvas with long list in Storybook:

https://github.com/CityOfDetroit/COD-Design-System/assets/143553259/3a7fa484-f36b-4aee-915d-67a313f6586e