-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Improve v2 library block permissions checks for read-only authors #35598
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
Changes from all commits
1fe29dc
4776de3
c975aaf
3882fe3
59e0ebd
8ef9e0c
4aaf64c
3de76a5
f1737e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -156,7 +156,7 @@ | |
| <!-- The default stylesheet will set the body min-height to 100% (a common strategy to allow for background | ||
| images to fill the viewport), but this has the undesireable side-effect of causing an infinite loop via the onResize | ||
| event listeners below, in certain situations. Resetting it to the default "auto" skirts the problem.--> | ||
| <body style="min-height: auto"> | ||
| <body style="min-height: auto; background-color: white;"> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😁 Ah, there's where that background was coming from...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bradenmacdonald Thanks for fixing that There's one tiny spot where that background #f5f5f5 is still being shown: video blocks.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pomegranited OK, I'll take a look at that in another PR. It's really just a drive-by fix here. |
||
| <!-- fragment body --> | ||
| {{ fragment.body_html | safe }} | ||
| <!-- fragment foot --> | ||
|
|
||
This file was deleted.


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think using transparent here will make it more adaptable to mfe theming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a lot of the XBlocks and course content are designed assuming that there is a white background. This is also used for LTI launches, and then we can't control what background color it appears on. So I think white is the safest for now. But I'm not sure.