exhibits icon indicating copy to clipboard operation
exhibits copied to clipboard

Adjust spacing for rendered search results widget

Open ggeisler opened this issue 3 years ago • 3 comments

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.

ggeisler avatar May 04 '21 17:05 ggeisler

I think the fix for this was merged? Does this mean the fix is now in Exhibits? I don't know how to find this out.

caaster avatar Jul 05 '24 18:07 caaster

@caaster this appears to be partially fixed. However, the document title/link under the image in the gallery view still has padding on the left that should be removed to make the design match what's described in this issue. Screenshot 2024-07-08 at 9 06 57 AM

corylown avatar Jul 08 '24 13:07 corylown

It appears that the fix applied in https://github.com/projectblacklight/blacklight-gallery/pull/105 is not working because document-title-heading class is not wrapped by document-metadata.

corylown avatar Jul 08 '24 13:07 corylown