Skip to content

Commit 633a3ba

Browse files
committed
ui: avoid session review header clipping
Move the session review header outside the scroll viewport and drop strict containment so shadows can render without being cropped.
1 parent d60696d commit 633a3ba

2 files changed

Lines changed: 308 additions & 308 deletions

File tree

packages/ui/src/components/session-review.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
flex-direction: column;
44
gap: 0px;
55
height: 100%;
6-
overflow-y: auto;
7-
scrollbar-width: none;
8-
contain: strict;
9-
&::-webkit-scrollbar {
10-
display: none;
6+
7+
[data-slot="session-review-scroll"] {
8+
flex: 1 1 auto;
9+
min-height: 0;
1110
}
1211

1312
.scroll-view__viewport {
@@ -21,8 +20,6 @@
2120
}
2221

2322
[data-slot="session-review-header"] {
24-
position: sticky;
25-
top: 0;
2623
z-index: 120;
2724
background-color: var(--background-stronger);
2825
height: 40px;
@@ -63,7 +60,7 @@
6360
}
6461

6562
[data-component="sticky-accordion-header"] {
66-
--sticky-accordion-top: 40px;
63+
--sticky-accordion-top: 0px;
6764
}
6865

6966
[data-slot="session-review-accordion-item"][data-selected]

0 commit comments

Comments
 (0)