refactor(notes): scope stacked-note sticky to desktop

Move position: sticky from the global .note rule into the desktop
@media block of the scoped stacked-note components, so mobile no longer
inherits sticky positioning (and no top is set there).
This commit is contained in:
Julien Calixte
2026-04-29 11:32:13 +02:00
parent 3e9418285f
commit f529832eee
4 changed files with 4 additions and 2 deletions

View File

@@ -193,6 +193,8 @@ $border-color: rgba(18, 19, 58, 0.2);
.stacked-note {
border-top: 0;
border-left: 1px solid $border-color;
position: sticky;
top: 0;
}
.title-stacked-note {