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

Fix styles inheritance in NcAvatar when being mounted #3925

Merged
merged 1 commit into from Mar 24, 2023

Conversation

Antreesy
Copy link
Contributor

@Antreesy Antreesy commented Mar 24, 2023

Fix #3877 and fix nextcloud/spreed#8625

Apply similar solution to what we have in #3707: at the moment of mounting component we can't rely on styles, generated by this.$el, so it's better to refer to document.body, where we have rules for dark / light themes

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy added bug Something isn't working 3. to review Waiting for reviews feature: avatar Related to the avatar component labels Mar 24, 2023
@Antreesy Antreesy self-assigned this Mar 24, 2023
@nickvergessen nickvergessen merged commit 1f5a81c into master Mar 24, 2023
15 checks passed
@nickvergessen nickvergessen deleted the fix/3877/inherit-theme-from-body branch March 24, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: avatar Related to the avatar component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent styles inheritance in NcAvatar Poll results shows dark avatars only on first opening
3 participants