Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/docs/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ details[open] > summary.sidebar-title::after {
z-index: 2;
width: min(100%, 22rem);
max-height: none;
/* Fills the space between the insets, so it scrolls. With the wide layout's
start, a fixed box is as tall as its links and runs off the screen. */
align-self: stretch;
padding: var(--space-5) var(--space-5) var(--space-10);
border-left: 1px solid var(--color-border);
background: var(--color-surface);
Expand Down
2 changes: 2 additions & 0 deletions apps/movies/src/app/app-shell/app-shell.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ ui-side-drawer {
flex-direction: column;
flex: 1;
overflow: auto;
/* At either end of the list, a drag stops there instead of moving the page. */
overscroll-behavior: contain;
font-size: var(--text-md);
font-weight: bold;
contain: content;
Expand Down
9 changes: 9 additions & 0 deletions apps/movies/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ body {
}
}

/* While the drawer is open over the page, the page stays where it is: a drag
on the drawer scrolls its list, not the page behind it. From 1298px the
drawer is a column beside the page (side-drawer.component.scss). */
@media screen and (max-width: 1297px) {
html:has(.side-drawer.opened) {
overflow: hidden;
}
}

body.dark img:not([src*='.svg']) {
filter: var(--image-filter);
}
Expand Down
Loading