You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no results are found for a search, the fallback markup still uses the .result class. This makes the title in that div change color on hover like a link.
Taking part of #467 and making it it's own issue.
When no results are found for a search, the fallback markup still uses the
.result
class. This makes the title in that div change color on hover like a link.Two approaches to fixing this:
Edit https://github.com/RagtagOpen/nomad/blob/master/app/static/js/find.js#L287 so that it doesn't use the
.result
class and give it a new class that has the same padding as.result
.Change the CSS at https://github.com/RagtagOpen/nomad/blob/master/app/static/css/styles.css#L363 so that the styles that currently apply to
<h3>
s inside.result
apply to<a>
tags within those<h3>
s instead.Number two is the better choice in my opinion.
The text was updated successfully, but these errors were encountered: