fix: wrong layout on search with few options

This commit is contained in:
C4illin 2024-09-26 23:37:19 +02:00
parent 2b4b8f9551
commit 88173891ba
5 changed files with 4 additions and 3 deletions

View file

@ -565,7 +565,7 @@ const app = new Elysia({
{Object.entries(getAllTargets()).map(
([converter, targets]) => (
<article
class="convert_to_group w-full border-b border-gray-700 p-4"
class="convert_to_group w-full border-b border-gray-700 p-4 flex flex-col"
data-converter={converter}
>
<header class="mb-2 w-full text-xl font-bold" safe>
@ -633,7 +633,7 @@ const app = new Elysia({
{Object.entries(getPossibleTargets(body.fileType)).map(
([converter, targets]) => (
<article
class="convert_to_group w-full border-b border-gray-700 p-4"
class="convert_to_group w-full border-b border-gray-700 p-4 flex flex-col"
data-converter={converter}
>
<header class="mb-2 w-full text-xl font-bold" safe>