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

css overrides from index.css #17

Open
havok2063 opened this issue Mar 3, 2021 · 0 comments
Open

css overrides from index.css #17

havok2063 opened this issue Mar 3, 2021 · 0 comments

Comments

@havok2063
Copy link

After updating to gain the #16 fix, we're now getting CSS that overrides our custom CSS. If I understand #16, that set up the template to use Jupyter Lab as a base html/css. Is that correct? Once we applied the fix, our font, styling, etc are being overwritten by the core defaults.

We think we've identified it as line 800 in the built voila/static/index.css file.

body{
  text-transform:none;
  line-height:1.28581;
  letter-spacing:0;
  font-size:14px;
  font-weight:400;
  color:#182026;
  font-family:-apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Open Sans", "Helvetica Neue", "Icons16", sans-serif; }

This looks like a general html body element. Since it appears after an enclosing page's definitions, it overrides any custom user css settings. Is there a way we can update this so it does not override downstream user css?

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

1 participant