fix(stats): le clic sur une pill de groupe ne scrolle plus la page verticalement — version 0.3.1Unverified
aa1bb1f parent: 97f0da3 modified
Cargo.lock +1 -1 | @@ -837,7 +837,7 @@ dependencies = [ | ||
| 837 | 837 | |
| 838 | 838 | [[package]] |
| 839 | 839 | name = "exego" |
| 840 | -version = "0.3.0" | |
| 840 | +version = "0.3.1" | |
| 841 | 841 | dependencies = [ |
| 842 | 842 | "anyhow", |
| 843 | 843 | "argon2", |
| @@ -837,7 +837,7 @@ dependencies = [ | |||
| 837 | 837 | ||
| 838 | [[package]] | 838 | [[package]] |
| 839 | name = "exego" | 839 | name = "exego" |
| 840 | -version = "0.3.0" | 840 | +version = "0.3.1" |
| 841 | dependencies = [ | 841 | dependencies = [ |
| 842 | "anyhow", | 842 | "anyhow", |
| 843 | "argon2", | 843 | "argon2", |
modified
Cargo.toml +1 -1 | @@ -1,6 +1,6 @@ | ||
| 1 | 1 | [package] |
| 2 | 2 | name = "exego" |
| 3 | -version = "0.3.0" | |
| 3 | +version = "0.3.1" | |
| 4 | 4 | edition = "2024" |
| 5 | 5 | license = "Unlicense" |
| 6 | 6 | |
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "exego" | 2 | name = "exego" |
| 3 | -version = "0.3.0" | 3 | +version = "0.3.1" |
| 4 | edition = "2024" | 4 | edition = "2024" |
| 5 | license = "Unlicense" | 5 | license = "Unlicense" |
| 6 | 6 | ||
modified
assets/style.css +4 -0 | @@ -607,6 +607,10 @@ h4.add_step_title { margin-top: var(--space-3); margin-bottom: var(--space-3); d | ||
| 607 | 607 | flex: 0 0 100%; min-width: 100%; |
| 608 | 608 | padding-right: var(--space-6); |
| 609 | 609 | scroll-snap-align: start; scroll-snap-stop: always; |
| 610 | + /* L'ancre d'une pill ne doit défiler QUE le carrousel : la marge démesurée | |
| 611 | + annule la composante verticale (clampée à 0), la ligne de pills reste | |
| 612 | + visible au lieu de sortir par le haut. */ | |
| 613 | + scroll-margin-top: 100vh; | |
| 610 | 614 | } |
| 611 | 615 | .scope-title { |
| 612 | 616 | margin: 0 0 var(--space-3); font-family: var(--font-heading); |
| @@ -607,6 +607,10 @@ h4.add_step_title { margin-top: var(--space-3); margin-bottom: var(--space-3); d | |||
| 607 | flex: 0 0 100%; min-width: 100%; | 607 | flex: 0 0 100%; min-width: 100%; |
| 608 | padding-right: var(--space-6); | 608 | padding-right: var(--space-6); |
| 609 | scroll-snap-align: start; scroll-snap-stop: always; | 609 | scroll-snap-align: start; scroll-snap-stop: always; |
| 610 | + /* L'ancre d'une pill ne doit défiler QUE le carrousel : la marge démesurée | ||
| 611 | + annule la composante verticale (clampée à 0), la ligne de pills reste | ||
| 612 | + visible au lieu de sortir par le haut. */ | ||
| 613 | + scroll-margin-top: 100vh; | ||
| 610 | } | 614 | } |
| 611 | .scope-title { | 615 | .scope-title { |
| 612 | margin: 0 0 var(--space-3); font-family: var(--font-heading); | 616 | margin: 0 0 var(--space-3); font-family: var(--font-heading); |