fix: ui too large on mobile
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 1m16s
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 1m16s
This commit is contained in:
parent
9ad1ca4d5a
commit
52317bdf97
1 changed files with 15 additions and 14 deletions
|
|
@ -19,7 +19,6 @@ import {
|
||||||
SelectValue,
|
SelectValue,
|
||||||
} from "~/components/ui/select";
|
} from "~/components/ui/select";
|
||||||
import { Tabs, TabsList, tabsStyle, TabsTrigger } from "~/components/ui/tabs";
|
import { Tabs, TabsList, tabsStyle, TabsTrigger } from "~/components/ui/tabs";
|
||||||
import DatePickerWithRange from "~/components/home/date-picker";
|
|
||||||
import BottomNavigation from "~/components/bottom-nav";
|
import BottomNavigation from "~/components/bottom-nav";
|
||||||
import Error from "~/components/error";
|
import Error from "~/components/error";
|
||||||
import { useSearchParams } from "react-router";
|
import { useSearchParams } from "react-router";
|
||||||
|
|
@ -211,6 +210,7 @@ export default function Home({ user }: { user: User }) {
|
||||||
|
|
||||||
{/* Filter component */}
|
{/* Filter component */}
|
||||||
<div className="flex gap-2 pb-0 pt-2">
|
<div className="flex gap-2 pb-0 pt-2">
|
||||||
|
{activeTab !== "upcoming" && (
|
||||||
<Select value={subjectFilter} onValueChange={setSubject}>
|
<Select value={subjectFilter} onValueChange={setSubject}>
|
||||||
<SelectTrigger className="rounded-full data-[placeholder]:text-primary">
|
<SelectTrigger className="rounded-full data-[placeholder]:text-primary">
|
||||||
<SelectValue placeholder="Matière" />
|
<SelectValue placeholder="Matière" />
|
||||||
|
|
@ -224,6 +224,7 @@ export default function Home({ user }: { user: User }) {
|
||||||
))}
|
))}
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
|
)}
|
||||||
|
|
||||||
<Select value={examinerFilter} onValueChange={setExaminer}>
|
<Select value={examinerFilter} onValueChange={setExaminer}>
|
||||||
<SelectTrigger className="rounded-full data-[placeholder]:text-primary">
|
<SelectTrigger className="rounded-full data-[placeholder]:text-primary">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue