style(notes): distinguish scrollable column from canvas

Tint the surrounding viewport and add a soft right-edge shadow on
the leftmost note so users can see where scrolling actually applies.
This commit is contained in:
Julien Calixte
2026-05-02 09:51:24 +02:00
parent c8e5fd26a0
commit 3339e28d41
3 changed files with 16 additions and 4 deletions

View File

@@ -248,6 +248,8 @@ watch(
}
@media screen and (min-width: 769px) {
background-color: var(--note-canvas-bg);
.repo-title-breadcrumb {
padding: 0.5rem 1rem 0;
transform-origin: 0 0;
@@ -265,6 +267,11 @@ watch(
.note {
min-width: var(--note-width);
max-width: var(--note-width);
background-color: var(--color-base-100);
}
.article {
box-shadow: var(--note-sheet-shadow);
}
}