Skip to content

Commit

Permalink
fix: wrong layout on search with few options
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin committed Sep 26, 2024
1 parent 2b4b8f9 commit 8817389
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default tseslint.config(
],
},
],
"import/no-named-as-default": "off",
},
},
);
Binary file modified images/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/converters/graphicsmagick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export const properties = {
"svgz",
"text",
"tga",
"tif",
"tiff",
"tile",
"tim",
Expand Down Expand Up @@ -227,7 +228,6 @@ export const properties = {
"jbig",
"jng",
"jpeg",
"jpg",
"k",
"m",
"m2v",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 8817389

Please sign in to comment.