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

Adjust spacing for rendered search results widget #2087

Open
ggeisler opened this issue May 4, 2021 · 0 comments
Open

Adjust spacing for rendered search results widget #2087

ggeisler opened this issue May 4, 2021 · 0 comments

Comments

@ggeisler
Copy link

ggeisler commented May 4, 2021

This fix might need to be done in another repo, but since it sounded like the change might have resulted from a Blacklight update, I'm not certain which repo it should be fixed in, so it probably makes sense for a more knowledgeable developer to figure it out.

The rendered search result widget includes two places where the spacing needs adjusting:

  • The item title needs to be left-aligned with the left edge of the thumbnail image and metadata
  • There needs to be vertical space between the view options buttons and the top of the search results container

Screen Shot 2021-05-04 at 10 38 47 AM


  • For the first issue, I believe giving the item title padding-left: 0; will fix it
  • For the second issue, adding 1rem margin between the view options buttons and the top of the search results container seems about right

Those changes would result in something like this:

Screen Shot 2021-05-04 at 10 42 14 AM


I suspect the trickiest thing about this is to make those updates in a way that doesn't affect other search result views.

cbeer added a commit to projectblacklight/blacklight-gallery that referenced this issue May 4, 2021
cbeer added a commit to projectblacklight/spotlight that referenced this issue May 4, 2021
@cbeer cbeer self-assigned this May 7, 2021
@caaster caaster added this to Tickets needing research to validate/understand before assigning to a column in Cathy's Exhibits WC planning for 2024 Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Cathy's Exhibits WC planning for 2024
Tickets needing research to validate/...
Development

No branches or pull requests

2 participants