Adjust sidebar layout to match content height
Remove aspect-ratio from weather widget and adjust parent container to allow sidebar content to expand and fill available height, aligning it with the main content. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 7b9e3bba-cabe-4c7f-80c0-0f32c6ad7dfd Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/nFw7xof Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -209,7 +209,7 @@ export function SidebarWeatherWidget() {
|
||||
if (!weather) return null;
|
||||
|
||||
return (
|
||||
<div className="bg-gradient-to-br from-card to-card/80 rounded-lg border border-card-border p-4 aspect-square flex flex-col justify-between" data-testid="sidebar-weather">
|
||||
<div className="bg-gradient-to-br from-card to-card/80 rounded-lg border border-card-border p-4 flex flex-col justify-between" data-testid="sidebar-weather">
|
||||
<div className="flex items-center justify-between">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<MapPin className="w-3.5 h-3.5 text-primary" />
|
||||
|
||||
Reference in New Issue
Block a user