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

Portions of text are white #4

Open
Deviad opened this issue Feb 11, 2023 · 6 comments
Open

Portions of text are white #4

Deviad opened this issue Feb 11, 2023 · 6 comments

Comments

@Deviad
Copy link

Deviad commented Feb 11, 2023

Hello,
there seems to be an issue with the text in the courses.
Some text paragraphs appear to be white only when I access them with "educative-viewer".
If I try to open them straight with the browser they are fine, the same if I use "python3 -m http.server"
Is there anything that can be done?

@anilabhadatta
Copy link
Owner

@Deviad please send few screenshot and topic links

@anilabhadatta
Copy link
Owner

@Deviad Try using dark mode in educative.io
image

@Schachte
Copy link

Running into the same issue, maybe would be good to provide flag to configure CSS to set color to #000?

@anilabhadatta
Copy link
Owner

@Schachte please provide the link of that topic and a screenshot on your scraped html file.

@jaykumar-parmar
Copy link

It's because of this CSS style. If the page is scrapped in light mode, then text in some paragraphs will not be visible

image

Can you make the color as "black" ?

@anilabhadatta
Copy link
Owner

@jaykumar-parmar clone the repo and then change white to black and run the project manually using python educative-viewer.py

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

No branches or pull requests

4 participants