fix: can't scroll misc tab on mobile

This commit is contained in:
trafficlunar 2026-04-24 18:30:35 +01:00
parent 51d46fc9ce
commit af7f1380bc
3 changed files with 294 additions and 294 deletions

View file

@ -106,7 +106,7 @@ It's a good idea to build the project locally before submitting a pull request.
$ pnpm --filter backend build
$ pnpm --filter frontend build
# Run the built version (Vite likes to change the port when this happens, so you probably need to change both .env files)
# Run the built version (Note: Vite likes to change the port when this happens, so you probably need to change both .env files)
$ pnpm --filter backend start
$ pnpm --filter frontend build
```

View file

@ -69,7 +69,7 @@ export default function MiiEditor({ instructions }: Props) {
{(Object.keys(TAB_COMPONENTS) as Tab[]).map((t) => {
const TabComponent = TAB_COMPONENTS[t];
return (
<div key={t} className={t === tab ? "grow relative p-3" : "hidden"}>
<div key={t} className={t === tab ? "grow relative p-3 min-h-0" : "hidden"}>
<TabComponent instructions={instructions} />
</div>
);