mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 13:56:43 +08:00
feat: add clear action to no-results message
When a search or filter yields no results, the message now includes an inline button that resets both the search input and the active filter. Improves discoverability and reduces dead-end frustration. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -237,7 +237,10 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="no-results" hidden>No libraries match your search or filter.</div>
|
||||
<div class="no-results" hidden>
|
||||
<p>No projects match your search or filter.</p>
|
||||
<p class="no-results-hint">Try a broader term, or <button class="no-results-clear">browse all projects</button>.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="final-cta section-shell" data-reveal>
|
||||
|
||||
Reference in New Issue
Block a user