Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Prevent extra whitespace in NavigationAccordion for pages with no headings #44

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

colleenmcginnis
Copy link
Contributor

Fixes #40

@davidtheclark this was happening because I was feeding the secondLevelItems prop an empty array. I'm not sure if this is something that should be prevented here or in the documentation style guide itself.

@colleenmcginnis colleenmcginnis requested review from davidtheclark and danswick and removed request for davidtheclark August 6, 2018 16:51
Copy link
Contributor

@danswick danswick left a comment

Choose a reason for hiding this comment

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

Checked locally and everything seems to be working as expected. 🐻

@davidtheclark
Copy link
Contributor

@colleenmcginnis Looks like a good solution to me.

@colleenmcginnis colleenmcginnis merged commit a51bfb7 into master Aug 13, 2018
@colleenmcginnis colleenmcginnis deleted the empty-accordion-section branch August 13, 2018 01:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants