Revert "Fix RSS time filters and add draggable grid layout"
This reverts commit 4ee365cfc0.
This commit is contained in:
@@ -59,7 +59,7 @@ export function WeatherCard() {
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="h-full bg-neutral-900 border border-neutral-800 rounded-xl p-6 relative overflow-hidden animate-pulse">
|
||||
<div className="col-span-1 md:col-span-2 lg:col-span-2 row-span-1 bg-neutral-900 border border-neutral-800 rounded-xl p-6 relative overflow-hidden animate-pulse">
|
||||
<div className="h-4 w-24 bg-neutral-800 rounded mb-4" />
|
||||
<div className="h-10 w-16 bg-neutral-800 rounded" />
|
||||
</div>
|
||||
@@ -69,7 +69,7 @@ export function WeatherCard() {
|
||||
if (!weather?.current) {
|
||||
// ... error state
|
||||
return (
|
||||
<div className="h-full bg-neutral-900 border border-neutral-800 rounded-xl p-6 flex items-center justify-center text-red-500">
|
||||
<div className="col-span-1 md:col-span-2 lg:col-span-2 row-span-1 bg-neutral-900 border border-neutral-800 rounded-xl p-6 flex items-center justify-center text-red-500">
|
||||
Failed to load weather
|
||||
</div>
|
||||
);
|
||||
@@ -79,8 +79,8 @@ export function WeatherCard() {
|
||||
const today = weather.daily;
|
||||
|
||||
return (
|
||||
<div className="h-full bg-neutral-900 border border-neutral-800 rounded-xl p-6 relative overflow-hidden group hover:border-neutral-700 transition-colors">
|
||||
<div className="widget-drag-handle flex justify-between items-start mb-2">
|
||||
<div className="col-span-1 md:col-span-2 lg:col-span-2 row-span-1 bg-neutral-900 border border-neutral-800 rounded-xl p-6 relative overflow-hidden group hover:border-neutral-700 transition-colors">
|
||||
<div className="flex justify-between items-start mb-2">
|
||||
<div className="flex items-center gap-2 text-neutral-400">
|
||||
<Cloud size={18} />
|
||||
<span className="text-sm font-medium">Local Weather</span>
|
||||
|
||||
Reference in New Issue
Block a user