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

All text inherits the same font size #456

Open
PeterRydberg opened this issue Sep 23, 2020 · 1 comment
Open

All text inherits the same font size #456

PeterRydberg opened this issue Sep 23, 2020 · 1 comment
Labels
Type: Bug Something isn't working

Comments

@PeterRydberg
Copy link

Describe the bug
All text on OWF is using the same font size, so no text customization other than font-family is actually being used. I haven't looked at the code to determine why, but judging by inspection of the elements, a big chunk of CSS (yellow arrow) overrides what should be the real font size of titles (red circle). Ref. image below. Disabling font: inherit solves the issue temporarily site-wide, as far as I can tell.

To Reproduce
Steps to reproduce the behavior:

  1. Go anywhere
  2. Look at titles, subtitles, etc.
  3. All text is (likely) computed 16px

Expected behavior
Have some chunky titles in OWF again.

Screenshots
image

Desktop (please complete the following information):

  • OS: WIndows
  • Browser: Chrome

Smartphone (please complete the following information):

  • Device: Motorola One Vision
  • OS: Android
  • Browser: Chrome
@PeterRydberg PeterRydberg added the Type: Bug Something isn't working label Sep 23, 2020
@FluidSense
Copy link
Contributor

This might be related to #412, as one of the warnings is related to createGlobalStyle.
If I'm not mistaken, that large chunk is a "reset css"-chunk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants