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

View File

@@ -565,7 +565,7 @@ const app = new Elysia({
{Object.entries(getAllTargets()).map( {Object.entries(getAllTargets()).map(
([converter, targets]) => ( ([converter, targets]) => (
<article <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} data-converter={converter}
> >
<header class="mb-2 w-full text-xl font-bold" safe> <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( {Object.entries(getPossibleTargets(body.fileType)).map(
([converter, targets]) => ( ([converter, targets]) => (
<article <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} data-converter={converter}
> >
<header class="mb-2 w-full text-xl font-bold" safe> <header class="mb-2 w-full text-xl font-bold" safe>