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

Table Cell Format "Bold" Weight is Heavier & Inconsistent with Rest of UI (Markdown cell format for text column types, various widgets, etc.) #1207

Open
2 tasks done
computrav opened this issue Sep 12, 2024 · 0 comments

Comments

@computrav
Copy link

Describe the current behavior

There are various places where text can appear "bold" within the Grist UI.

However, it appears that if you are formatting a Column as "Bold" via Cell Formatting, it ends up applies CSS of font-weight: 800. This is "extra bold" and is more bold than the default CSS bold, which would be font-weight: 700, which is also the same if you just do font-weight: bold.

I personally have not used this bold within cells much (if at all) because it's a bit unsightly. Then today I was doing bold in the new Markdown feature within cells, and noticed the bold looked normal.

After looking into this more, it seems that everywhere else I've looked in the UI, the "Boldness" is "normal" (font-weight: bold or font-weight: 700).

Hence, I would recommend that the normal cell formatting bold get changed to the normal level of bold.

Furthermore, in various widgets such as "HTML viewer", "Markdown", "Notepad", etc, the boldness there is also "normal", thus is inconsistent with the cell formatting boldness.

Steps to reproduce

  1. Create a new table, and open the right side Creator Panel
  2. Select the first column, enter some text into the cell, then in the sidebar, go to Column, then:
    a. Column Type -> Text
    b. Cell Style -> B (to make it bold) -> Apply. Observe the "extra boldness" of the text
    4.Select the second column, enter some Markdown content with bold, e.g., This is a **test**., then in the sidebar, go to Column, then:
    a. Column Type -> Text
    b. Cell Format -> Markdown. Observe the "normal boldness" of the word "test", and that it's less-bold than the text in the first column.

Describe the expected behavior

Boldness of text should be consistent throughout "bold" content in tables, and at least in other "official" widgets that have rich text formatting (per list of sample widgets in the 'current behavior' above).

Where have you encountered this bug?

Instance information (when self-hosting only)

  • Grist instance:

    • Version: 1.1.18
    • URL (if it's OK for you to share it):
    • Installation mode: docker/kubernetes/... Docker
    • Architecture: single-worker/multi-workers
  • Browser name, version and platforms on which you could reproduce the bug: Various, same behavior

  • Link to browser console log if relevant:

  • Link to server log if relevant:

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