Improve search header by hiding grid view on smaller screens
Hide the grid view button in the search header component on small screen sizes by adding the `hidden sm:flex` class to the container div. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/IG0thRZ
This commit is contained in:
parent
b4ee310ea3
commit
f21ee8e01a
@ -134,7 +134,7 @@ export default function SearchHeader({
|
||||
<p className="text-bunny-muted">Video streaming platform</p>
|
||||
</div>
|
||||
|
||||
<div className="flex bg-bunny-gray rounded-lg p-1">
|
||||
<div className="hidden sm:flex bg-bunny-gray rounded-lg p-1">
|
||||
<Button
|
||||
variant={currentView === "grid" ? "default" : "ghost"}
|
||||
size="sm"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user