Codeinwp / Codeinwp/raft

Font sizes at Frontend vs Editor

Open
#70 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
8
Forks
4
Avg merge
1h 26m
Merged PRs (30d)
2

Description

I remember coming across this one before, and it looks like the font sizes are different in the frontend vs what the user sees in the editor.

You can try it at any page including this one: https://raft.vertisite.cloud/patterns/features/

Here's a magic logic link.

Here at the frontend, let's take the example of the hero heading, which is Huge size and declared as 56pixels.
However in the editor, the font sizes are different:

Screenshot 2023-11-13 at 3 06 34 PM

Why / where are these declarations for Huge and normal sizes?

@HardeepAsrani Let me know if you have any insights!
Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the Huge hero heading, declared as 56 pixels, on the linked frontend page with its appearance in the editor. Locate the declarations for the Huge and normal sizes; done means the frontend and editor use matching font sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
design, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.