From 848968b154c597e01a7e1c2df5a9e5c52fac3ae0 Mon Sep 17 00:00:00 2001 From: Yvv Date: Tue, 3 Nov 2026 22:52:08 +0100 Subject: [PATCH] =?UTF-8?q?Lot=20U3b=20:=20le=20tableau=20des=20cinq=20cra?= =?UTF-8?q?ns=20se=20lit=20en=20entier=20dans=20le=20panneau=20des=20r?= =?UTF-8?q?=C3=A9glages,=20sur=20bureau=20comme=20sur=20t=C3=A9l=C3=A9phon?= =?UTF-8?q?e=20(C44=20vert).=20La=20cause=20:=20le=20tableau=20ne=20resser?= =?UTF-8?q?rait=20ses=20cellules=20et=20ne=20repliait=20ses=20en-t=C3=AAte?= =?UTF-8?q?s=20et=20le=20nom=20du=20cran=20que=20sous=20480=20px=20d'?= =?UTF-8?q?=C3=A9cran=20(@media),=20alors=20qu'il=20vit=20dans=20le=20pann?= =?UTF-8?q?eau=20de=20droite,=2027rem=20quelle=20que=20soit=20la=20largeur?= =?UTF-8?q?=20de=20l'=C3=A9cran=20(394=20px=20utiles,=20=C3=A0=20peine=20p?= =?UTF-8?q?lus=20que=20la=20feuille=20d'un=20t=C3=A9l=C3=A9phone,=20374)?= =?UTF-8?q?=20:=20sur=20bureau,=20en-t=C3=AAtes=20sur=20une=20ligne=20et?= =?UTF-8?q?=20marges=20larges,=20il=20demandait=20412=20=C3=A0=20501=20px?= =?UTF-8?q?=20et=20d=C3=A9filait=20de=20c=C3=B4t=C3=A9,=20=C2=AB=20Voix=20?= =?UTF-8?q?pour=20=C2=BB=20hors=20de=20vue.=20Le=20correctif,=20seulement?= =?UTF-8?q?=20dans=20FormulaSettings.svelte=20:=20les=20r=C3=A8gles=20du?= =?UTF-8?q?=20t=C3=A9l=C3=A9phone=20pour=20toutes=20les=20largeurs=20(cell?= =?UTF-8?q?ules=20=C3=A0=200,4rem=200,3rem,=20en-t=C3=AAtes=20et=20nom=20d?= =?UTF-8?q?u=20cran=20repliables,=20un=20chiffre=20jamais=20coup=C3=A9)=20?= =?UTF-8?q?;=20plus=20de=20@media.=20Aucun=20texte=20chang=C3=A9,=20le=20p?= =?UTF-8?q?anneau=20inchang=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- web/src/lib/components/FormulaSettings.svelte | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/web/src/lib/components/FormulaSettings.svelte b/web/src/lib/components/FormulaSettings.svelte index 7481d3e..18ed6a3 100644 --- a/web/src/lib/components/FormulaSettings.svelte +++ b/web/src/lib/components/FormulaSettings.svelte @@ -148,12 +148,20 @@ font-size: 0.88rem; font-variant-numeric: tabular-nums; } + /* The table lives in the side panel, 27rem at most whatever the screen (DocPanel), about as + narrow as a phone's sheet: on a desktop as on a phone, the cells sit close and the headers + and the level's name wrap, so that the six columns hold, in each language; a figure never + wraps (lot U3b). */ th, td { - padding: 0.45rem 0.55rem; + padding: 0.4rem 0.3rem; text-align: right; white-space: nowrap; } + thead th, + th[scope='row'] { + white-space: normal; + } thead th { font-size: 0.74rem; font-weight: 800; @@ -193,15 +201,4 @@ .tag { font-size: 0.68rem; } - /* On a phone, six columns hold in the sheet: the headers and the level's name wrap. */ - @media (max-width: 480px) { - th, - td { - padding: 0.4rem 0.3rem; - } - thead th, - th[scope='row'] { - white-space: normal; - } - }