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

fix/odd-spacing-in-content-of-filter-popup #140

Merged
merged 2 commits into from
Dec 6, 2021

Conversation

tohuynh
Copy link
Collaborator

@tohuynh tohuynh commented Dec 6, 2021

Link to Relevant Issue

This pull request resolves some odd spacing in the sorting algo selection UI on the search results page.

Description of Changes

The Mozilla protocol class for forms, fieldsets, and mzp-c-choices have margins and/or padding that creates extra whitespace below the list of sorting options. I created a styled component that sets the margin and/or padding to 0.

There is also extra whitespace to the right of the sorting options. I removed the min-width on the popup and let its content determine its width. Moved the min-width style to the button container so that there is some space between the buttons (in the other filters).

Screenshots

image

@tohuynh tohuynh self-assigned this Dec 6, 2021
@tohuynh tohuynh merged commit 9d8f7fb into CouncilDataProject:main Dec 6, 2021
@tohuynh tohuynh deleted the fix/filter-content-spacing branch December 29, 2021 19:33
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.

None yet

2 participants