diff --git a/src/components/ui/chart-line.tsx b/src/components/ui/chart-line.tsx index 893d2d8..319781c 100644 --- a/src/components/ui/chart-line.tsx +++ b/src/components/ui/chart-line.tsx @@ -118,9 +118,11 @@ export const ChartLine: Component = (props) => { + {/* The floor only keeps axis text legible on a phone: at 640px it + forced a sideways scroller into the card on a 1280px screen. */}
`${item.label}${item.caption ? ` (${item.caption})` : ""}: ${item.formattedValue ?? item.value}`).join(", ")} diff --git a/src/pages/admin-user-detail-page.tsx b/src/pages/admin-user-detail-page.tsx index d900f42..b8e6a19 100644 --- a/src/pages/admin-user-detail-page.tsx +++ b/src/pages/admin-user-detail-page.tsx @@ -63,7 +63,7 @@ function AdminUserDetailContent() { } > {(current) => ( -
+
{error()} diff --git a/src/pages/bank-question-detail-page.tsx b/src/pages/bank-question-detail-page.tsx index 2b59615..9c5ab72 100644 --- a/src/pages/bank-question-detail-page.tsx +++ b/src/pages/bank-question-detail-page.tsx @@ -97,7 +97,7 @@ function BankQuestionDetailContent() { } > {(current) => ( -
+
{error()} diff --git a/src/pages/class-detail-page.tsx b/src/pages/class-detail-page.tsx index c3ab547..d7e0d0e 100644 --- a/src/pages/class-detail-page.tsx +++ b/src/pages/class-detail-page.tsx @@ -283,7 +283,7 @@ function ClassDetailContent() { } > {(c) => ( -
+
( }> {t("common.accessDenied")}}> -
+
-
+
( }> {t("common.accessDenied")}}> -
+
{flash()} {error()} -
+
}> void refetch()} /> diff --git a/src/pages/homework-detail-page.tsx b/src/pages/homework-detail-page.tsx index e168778..6423029 100644 --- a/src/pages/homework-detail-page.tsx +++ b/src/pages/homework-detail-page.tsx @@ -63,7 +63,7 @@ export default function HomeworkDetailPage() { fallback={}>{formatApiError(homework.error, locale())}} > {(item) => ( -
+
diff --git a/src/pages/instance-detail-page.tsx b/src/pages/instance-detail-page.tsx index 1742330..b47dbbc 100644 --- a/src/pages/instance-detail-page.tsx +++ b/src/pages/instance-detail-page.tsx @@ -334,7 +334,7 @@ function InstanceDetailContent() { } > {(inst) => ( -
+
+
}> {(q) => ( diff --git a/src/pages/question-generation-page.tsx b/src/pages/question-generation-page.tsx index 7d50a46..8719e79 100644 --- a/src/pages/question-generation-page.tsx +++ b/src/pages/question-generation-page.tsx @@ -103,7 +103,7 @@ function QuestionGenerationContent() { }; return ( -
+