diff --git a/src/components/admin/LicenceInput.tsx b/src/components/admin/LicenceInput.tsx index bd3c7aa1f..5058590d0 100644 --- a/src/components/admin/LicenceInput.tsx +++ b/src/components/admin/LicenceInput.tsx @@ -104,7 +104,7 @@ export function LicenceInput({ return (
: null}
-
+ {/* On a phone at large text (under 14rem of field; a phone's field is 20rem at normal text) the offer goes under the note + and takes the row: beside it, half the row left its label "Us…", or a column too narrow for "Other". */} +

{noteOf(licence, rights, defaultLicence)} {missing ? " A DOI needs one." : null}

{(!licenceComplete(licence) || contradicted(licence, rights)) && !disabled ? ( - // A licence without a short name, such as CC BY-NC-ND 3.0 IGO, goes by its full title, which the note above names - // whole: the button keeps to half the row and cuts it. - ) : null}
diff --git a/src/components/features/items/Attachment.tsx b/src/components/features/items/Attachment.tsx index 6a3915f9e..d1553ddc5 100644 --- a/src/components/features/items/Attachment.tsx +++ b/src/components/features/items/Attachment.tsx @@ -273,7 +273,8 @@ export function HeldPdf({ until }: { until: string | null }) {
-

{day ? t("pdfPrivateUntil", { date: day }) : t("pdfPrivate")}

+ {/* Under the page (a card under 12rem, a phone at large text) the title is a size smaller: at 320px and 200% a month like "November" didn't fit its line and broke inside. */} +

{day ? t("pdfPrivateUntil", { date: day }) : t("pdfPrivate")}

{t(day ? "pdfOpensOnItsDay" : "pdfEditorsOnly")}