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

BIN
bun.lockb

Binary file not shown.

View File

@@ -49,6 +49,7 @@ export default tseslint.config(
],
},
],
"import/no-named-as-default": "off",
},
},
);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

@@ -143,6 +143,7 @@ export const properties = {
"svgz",
"text",
"tga",
"tif",
"tiff",
"tile",
"tim",
@@ -227,7 +228,6 @@ export const properties = {
"jbig",
"jng",
"jpeg",
"jpg",
"k",
"m",
"m2v",

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>