Enhance mobile UI
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 1m39s
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 1m39s
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -223,11 +223,11 @@ export default function AdminSubmissionsCard({
|
|||||||
placeholder="Search"
|
placeholder="Search"
|
||||||
value={searchQuery}
|
value={searchQuery}
|
||||||
onChange={(event) => onSearchQueryChange(event.target.value)}
|
onChange={(event) => onSearchQueryChange(event.target.value)}
|
||||||
style={{ flex: "1 1 260px" }}
|
style={{ flex: isMobile ? "1 1 100%" : "3 1 0%" }}
|
||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
value={selectedSubmissionState}
|
value={selectedSubmissionState}
|
||||||
style={{ flex: "1 1 140px" }}
|
style={{ flex: isMobile ? "1 1 calc(50% - 4px)" : "1 1 0%" }}
|
||||||
options={[
|
options={[
|
||||||
{ label: "Show all", value: "all" },
|
{ label: "Show all", value: "all" },
|
||||||
{ label: "Show pending", value: "pending" },
|
{ label: "Show pending", value: "pending" },
|
||||||
@@ -238,7 +238,7 @@ export default function AdminSubmissionsCard({
|
|||||||
/>
|
/>
|
||||||
<Select
|
<Select
|
||||||
value={sortBy}
|
value={sortBy}
|
||||||
style={{ flex: "1 1 120px" }}
|
style={{ flex: isMobile ? "1 1 calc(50% - 4px)" : "1 1 0%" }}
|
||||||
options={[
|
options={[
|
||||||
{ label: "by time", value: "time" },
|
{ label: "by time", value: "time" },
|
||||||
{ label: "by order", value: "order" },
|
{ label: "by order", value: "order" },
|
||||||
@@ -305,7 +305,7 @@ export default function AdminSubmissionsCard({
|
|||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
style={{
|
style={{
|
||||||
maxHeight: "80vh",
|
maxHeight: "66vh",
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
overflowX: "hidden"
|
overflowX: "hidden"
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user