Skip to content

GAUD-9944 - Fix sticky core components in d2l-page#6942

Draft
svanherk wants to merge 1 commit intomainfrom
GAUD-9944-Fix-sticky-components-in-d2l-page
Draft

GAUD-9944 - Fix sticky core components in d2l-page#6942
svanherk wants to merge 1 commit intomainfrom
GAUD-9944-Fix-sticky-components-in-d2l-page

Conversation

@svanherk
Copy link
Copy Markdown
Contributor

@svanherk svanherk commented May 6, 2026

All our sticky components need to handle the proper offsets if they are in a d2l-page that has a sticky header or are in a panel that has a sticky header.

This needs to be more thoroughly tested, and it may not cover every sticky component we have (I think it does). But wanted to get it up before I go so it could be used/adjusted/merged if needed.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-6942/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

Comment on lines +30 to +31
/* stylelint-disable-next-line length-zero-no-unit -- used in calc() by consumers */
--d2l-page-sticky-top: 0px;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like our linting rules are just wrong here. 😕 But removing the px definitely breaks things.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things are a pixel or two off here - to be investigated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant