refactor: mobile friendly

This commit is contained in:
Tristan Yang
2023-02-21 20:49:30 +08:00
parent 13843c65dd
commit 44ef3d7b25
8 changed files with 57 additions and 50 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ const SessionList: FC<Props> = ({ tempSession }) => {
]);
return (
<>
<ul className="flex flex-col gap-0.5 p-2 overflow-auto h-[calc(100vh_-_56px_-_16px_-_8px)]">
<ul className="flex flex-col gap-0.5 p-2 overflow-auto">
{sessions.map((s) => {
const { key, type, id, mid = 0 } = s;
return (