From e062a3a84fb64cff346082d963fc5e04a01fc5df Mon Sep 17 00:00:00 2001 From: Matthieu Date: Fri, 21 Nov 2025 17:09:37 +0100 Subject: [PATCH] Refactor layout components to remove unnecessary min-height and improve responsiveness --- dev-dist/sw.js | 2 +- src/App.tsx | 4 ++-- src/components/CardSearch.tsx | 14 +++++++------- src/components/Collection.tsx | 2 +- src/components/DeckManager.tsx | 2 +- src/components/Navigation.tsx | 3 --- 6 files changed, 12 insertions(+), 15 deletions(-) diff --git a/dev-dist/sw.js b/dev-dist/sw.js index b4f00c1..0aa39a7 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-ca84f546'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.tpsi5p961us" + "revision": "0.luqmbf7uqs" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/App.tsx b/src/App.tsx index 8ffd834..ce4d5cd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -39,7 +39,7 @@ import React, { useState } from 'react'; switch (currentPage) { case 'home': return ( -
+

My Decks

@@ -76,7 +76,7 @@ import React, { useState } from 'react'; return (
- {renderPage()} + {renderPage()}
); diff --git a/src/components/CardSearch.tsx b/src/components/CardSearch.tsx index 78b842f..5552e73 100644 --- a/src/components/CardSearch.tsx +++ b/src/components/CardSearch.tsx @@ -192,7 +192,7 @@ const CardSearch = () => { }; return ( -
+

Card Search

@@ -219,7 +219,7 @@ const CardSearch = () => { className="w-full px-4 py-2 bg-gray-800 border border-gray-700 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent text-white" placeholder="Rules Text (~ for card name)" /> -
+
{
{/* Stats */} -
+
setFormat(e.target.value)} @@ -396,7 +396,7 @@ const CardSearch = () => {
{/* Sets */} -
+
{
{/* Criteria */} -
+
{
{/* Prices */} -
+