fix(labs): fit the lab list, values list and add sheet to a phone

The compact list was a five-column table at every width. Below the fixed
columns (badge, 12rem range bar, 72px trend, chevron) the name column
collapsed to nothing, the badge sat over the value and the row panned
sideways off the card. Below lg the same cells now fold into two lines
per row; the desktop subgrid is unchanged.

The values table needed ~510px, so on a phone its edit and delete
buttons sat in a sideways-scrolling strip and the range bar labels were
clipped. Below lg each reading is a stacked row with its actions beside
it.

The add sheet's three footer buttons did not fit a phone row in German
and pushed Cancel off the left edge; the secondary save takes a row of
its own there, and the footer wraps instead of overflowing on desktop.
The scan review's 'links to existing marker' chip truncates instead of
running past its row.
This commit is contained in:
Marc-André Bombeck committed 2026-10-01 09:44:29 +02:00
1 parent 1b694ec222
commit 4a13004917
5 files changed
+214 -112

No files matched your search

+4 -1
View File
@@ -192,7 +192,10 @@ export default function LabsPage() {
title={t("labs.addResult")}
description={t("labs.addDescription")}
footer={
<div ref={setAddFooterEl} className="flex w-full justify-end gap-2" />
<div
ref={setAddFooterEl}
className="flex w-full flex-wrap justify-end gap-2"
/>
}
>
<LabForm