@@ -672,7 +675,7 @@ export function MeasurementList({ onEdit, onAddFirst }: MeasurementListProps) {
type="button"
variant="outline"
size="icon"
- className="h-9 w-9"
+ className="size-11"
disabled={
updateMutation.isPending || deleteMutation.isPending
}
@@ -795,7 +798,7 @@ function SortableHead({
function DeleteButton({
onConfirm,
- className = "h-8 w-8",
+ className = "size-11",
}: {
onConfirm: () => void;
className?: string;
diff --git a/src/components/medications/SideEffectsSection.tsx b/src/components/medications/SideEffectsSection.tsx
index 2a46af052..c05054cc7 100644
--- a/src/components/medications/SideEffectsSection.tsx
+++ b/src/components/medications/SideEffectsSection.tsx
@@ -302,7 +302,7 @@ export function SideEffectsSection({ medicationId }: SideEffectsSectionProps) {
setPage((p) => p - 1)}
+ aria-label={t("medications.previousPage")}
>
= totalPages}
onClick={() => setPage((p) => p + 1)}
+ aria-label={t("medications.nextPage")}
>
@@ -600,7 +604,7 @@ export function IntakeHistoryList({
type="button"
variant="outline"
size="icon"
- className="h-9 w-9"
+ className="size-11"
disabled={
updateMutation.isPending || deleteMutation.isPending
}
@@ -816,10 +820,10 @@ function DeleteButton({
-
+
diff --git a/src/components/medications/inventory-section.tsx b/src/components/medications/inventory-section.tsx
index ae14f36d8..3d6b55f56 100644
--- a/src/components/medications/inventory-section.tsx
+++ b/src/components/medications/inventory-section.tsx
@@ -328,9 +328,8 @@ export function InventorySection({
{item.state === "ACTIVE" && (
patchMutation.mutate({
itemId: item.id,
@@ -344,9 +343,8 @@ export function InventorySection({
)}
{(item.state === "ACTIVE" || item.state === "IN_USE") && (
patchMutation.mutate({
itemId: item.id,
@@ -401,14 +399,14 @@ export function InventorySection({
)}
deleteMutation.mutate(item.id)}
disabled={deleteMutation.isPending}
aria-label={t("medications.inventory.delete")}
>
-
+
))}