File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const DiscussionsNotificationsSidebar = () => {
17
17
< SidebarBase
18
18
ariaLabel = { intl . formatMessage ( messages . discussionNotificationTray ) }
19
19
sidebarId = { ID }
20
- className = "d-flex flex-column flex-fill"
20
+ className = "d-flex flex-column flex-fill sticky-top vh-100 "
21
21
showTitleBar = { false }
22
22
showBorder = { false }
23
23
>
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const DiscussionsSidebar = ({ intl }) => {
32
32
>
33
33
< iframe
34
34
src = { `${ discussionsUrl } ?inContextSidebar` }
35
- className = "d-flex w- 100 h -100 border-0"
35
+ className = "d-flex sticky-top vh- 100 w -100 border-0"
36
36
title = { intl . formatMessage ( messages . discussionsTitle ) }
37
37
allow = "clipboard-write"
38
38
loading = "lazy"
Original file line number Diff line number Diff line change 368
368
}
369
369
}
370
370
371
+ .sticky-top {
372
+ position : sticky ;
373
+ top : 0 ;
374
+ }
375
+
371
376
// Import component-specific sass files
372
377
@import " courseware/course/celebration/CelebrationModal.scss" ;
373
378
@import " courseware/course/sidebar/sidebars/notifications/NotificationIcon.scss" ;
You can’t perform that action at this time.
0 commit comments