mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: can't scroll misc tab on mobile
This commit is contained in:
parent
51d46fc9ce
commit
af7f1380bc
3 changed files with 294 additions and 294 deletions
|
|
@ -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 backend build
|
||||||
$ pnpm --filter frontend 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 backend start
|
||||||
$ pnpm --filter frontend build
|
$ pnpm --filter frontend build
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ export default function MiiEditor({ instructions }: Props) {
|
||||||
{(Object.keys(TAB_COMPONENTS) as Tab[]).map((t) => {
|
{(Object.keys(TAB_COMPONENTS) as Tab[]).map((t) => {
|
||||||
const TabComponent = TAB_COMPONENTS[t];
|
const TabComponent = TAB_COMPONENTS[t];
|
||||||
return (
|
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} />
|
<TabComponent instructions={instructions} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue