Commit 1b09bf16 authored by Chunchi Che's avatar Chunchi Che

fix overflow in Match

parent 194d59c6
Pipeline #27201 passed with stages
in 8 minutes and 11 seconds
......@@ -19,7 +19,7 @@ import {
} from "@/api";
import { useConfig } from "@/config";
import { accountStore, deckStore, resetUniverse, roomStore } from "@/stores";
import { Background, IconFont, Select } from "@/ui/Shared";
import { Background, IconFont, ScrollableArea, Select } from "@/ui/Shared";
import {
CustomRoomContent,
......@@ -330,8 +330,10 @@ const Mode: React.FC<{
onClick?: () => void;
}> = ({ title, desc, icon, onClick }) => (
<div className={styles.mode} onClick={onClick}>
<div className={styles.icon}>{icon}</div>
<div className={styles.title}>{title}</div>
<div className={styles.desc}>{desc}</div>
<ScrollableArea maxHeight="15rem">
<div className={styles.icon}>{icon}</div>
<div className={styles.title}>{title}</div>
<div className={styles.desc}>{desc}</div>
</ScrollableArea>
</div>
);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment