Repository navigation
feat(site): keep the filters in a sticky column on the right of wide screens - #39
Merged
Merged
Conversation
…screens From 1536 px the period, the dates and the search leave the top of the page for a column on its right that stays in view as the page scrolls: they apply to every page. The column stays on the pages without filters so that the content keeps its width, as wide as beside the sidebar at 1280 px. Narrower screens keep the filters at the top of the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he current page The column gets the name « Filtres », and the period shown, or picked dates, take the light tint of the current page in the sidebar rather than the black of the segmented control. The column grows to 256 px so that the placeholder of the search fits beside the room the browser keeps for its clear button, with narrower gaps so that the content keeps its width at 1536 px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ce qui change
La période (30 jours à 36 mois), les dates et la recherche s'appliquent à toutes les pages, mais elles restaient en haut de la page : il fallait remonter pour en changer. Sur les grands écrans, elles passent dans une colonne à droite, qui reste visible quand la page défile. Cette colonne occupe l'espace vide qu'il y avait à droite du contenu.
Le CSS porte l'essentiel du changement (
site/style.css, une media query). Le HTML ne gagne que le titre « Filtres », caché aux lecteurs d'écran puisque la barre d'outils porte déjà ce nom ;app.jsest intact. Le README et les règles du site décrivent la nouvelle disposition.Plan de test
npm run checketnpm test(119 tests)main; les tableaux qui défilent horizontalement sont les mêmes qu'à 1280 px surmain🤖 Generated with Claude Code