Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: "Convert sass variables to css variables" #35480

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

nsprenkle
Copy link
Contributor

Reverts #35385

We found a bug with the video player CSS from this change producing un-readable text in video captions (pictured below):

video-player-captions-bug

Calculated CSS values are:

background-color: rgba(0, 0, 0, 0.75)
color: rgb(34, 34, 34)

It looks like the video block CSS is actually trying to set its own color, but the variable replacement is resolving incorrectly so the value is getting ignored. (See comment)

color: var(--#fff)

See also https://2u-internal.atlassian.net/browse/AU-2220

Copy link
Member

@kdmccormick kdmccormick left a comment

Choose a reason for hiding this comment

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

Sorry for the distuption and thanks for the report!

@kdmccormick kdmccormick merged commit 3adfb78 into master Sep 12, 2024
49 checks passed
@kdmccormick kdmccormick deleted the revert-35385-farhan/sass-to-css-variables branch September 12, 2024 16:40
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

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.

Convert builtin block Sass variables into CSS variables
4 participants