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 margins & theme colors to viewfinder #2324

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Conversation

robyngit
Copy link
Member

Fixes display of viewfinder in the "light" portal theme

Screenshot 2024-03-26 at 11 15 28 AM Screenshot 2024-03-26 at 11 06 40 AM

Related to issues #1796, #2277

.viewfinder-predictions {
list-style: none;
margin: 0;
margin: -16px 24px 0 24px;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of negative margins, I was planning

.viewfinder__predictions,
.viewfinder__search-input {
  margin: 0 24px;
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, that's what I did initially. The negative margin was an ugly fix for what I thought was too large of a gap between the input and the predictions list:

Screenshot 2024-03-26 at 1 08 44 PM

@robyngit robyngit merged commit 82f7e9a into develop Mar 26, 2024
2 checks passed
@robyngit robyngit deleted the bugfix-viewfinder-styles branch September 26, 2024 17:24
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