Skip to main content

max / makenotwork

server: hide grid results in list view on discover page The discover results partial renders both .results-table and .results-grid into the DOM and relies on CSS to toggle visibility via a class on the container. The list-mode rule for .results-grid was missing, so the grid cards were rendering underneath the table as default block flow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-06-26 16:45 UTC
Commit: c68af8bdaf28c70535c3ef2d327923f046846935
Parent: 39ed9e1
1 file changed, +4 insertions, -0 deletions
@@ -5573,6 +5573,10 @@ textarea:focus-visible {
5573 5573 display: block;
5574 5574 }
5575 5575
5576 + .results-container.results-list .results-grid {
5577 + display: none;
5578 + }
5579 +
5576 5580 .results-container.results-grid .results-table {
5577 5581 display: none;
5578 5582 }