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
+1 -1
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",
+2 -2
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>