feat: refactor UI components to utilize new Container, Section, and StatusBadge components for improved layout and styling consistency across the application

This commit is contained in:
Julien Froidefond
2025-10-17 11:49:28 +02:00
parent 4f28df6818
commit 482bd9b0d2
23 changed files with 669 additions and 469 deletions

View File

@@ -11,6 +11,7 @@ import { useDisplayPreferences } from "@/hooks/useDisplayPreferences";
import { PageSizeSelect } from "@/components/common/PageSizeSelect";
import { CompactModeButton } from "@/components/common/CompactModeButton";
import { UnreadFilterButton } from "@/components/common/UnreadFilterButton";
import { Container } from "@/components/ui/container";
interface PaginatedSeriesGridProps {
series: KomgaSeries[];
@@ -97,7 +98,7 @@ export function PaginatedSeriesGrid({
};
return (
<div className="space-y-8">
<Container spacing="none" className="space-y-8">
<div className="flex flex-col gap-4">
<div className="flex flex-col sm:flex-row sm:items-center gap-4">
<div className="w-full">
@@ -124,6 +125,6 @@ export function PaginatedSeriesGrid({
className="order-1 sm:order-2"
/>
</div>
</div>
</Container>
);
}