Closed Bug 1699725 Opened 3 years ago Closed 3 years ago

Make panels text bigger

Categories

(Firefox :: Theme, task, P2)

task

Tracking

()

RESOLVED DUPLICATE of bug 1701920

People

(Reporter: mconley, Assigned: alexical)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [proton-door-hangers] [priority:2a])

Attachments

(1 file)

UX and Product want the font size of our panels to match the font size that we already use for the URL bar.

Emanuela, can you please confirm that we want to apply a 115% font size increase or 1.15em?

Flags: needinfo?(emanuela)
Priority: P1 → P2

Now confirmed with Emanuela that the requirement is to apply the following font size: font-size: 1.25em

Flags: needinfo?(emanuela)
Summary: Make sure panel font sizes match URL bar when Proton is enabled → Make panels text bigger
Assignee: nobody → dothayer
Status: NEW → ASSIGNED

Thanks for looking at this dthayer! Note that for areas where I've got font: caption, setting font-size won't work, so you'll probably want to remove that font: caption property.

(In reply to Mike Conley (:mconley) (:⚙️) (Catching up on needinfos) from comment #3)

Thanks for looking at this dthayer! Note that for areas where I've got font: caption, setting font-size won't work, so you'll probably want to remove that font: caption property.

Is font: caption not important for these elements? We could always work around that by setting the font size on descendents of font: caption holders, but it's just ugly, right? That's (roughly) what we're doing in bug 1699426.

Also, in case you happen to know (I'm intending to ask Emanuela for this, but I'm already waiting on her response for something else), are we aware that setting the font size this high causes us to require a scroll bar for the app menu if the user is on a 768p or lower display (I think still reasonably common?) It feels like we may want to avoid that.

(In reply to Doug Thayer [:dthayer] (he/him) from comment #4)

Also, in case you happen to know (I'm intending to ask Emanuela for this, but I'm already waiting on her response for something else), are we aware that setting the font size this high causes us to require a scroll bar for the app menu if the user is on a 768p or lower display (I think still reasonably common?) It feels like we may want to avoid that.

I agree. Best to ask emanuela or rtestard from Product, I think.

Thoughts, Romain / Emanuela? (re comment 4)

Flags: needinfo?(rtestard)
Flags: needinfo?(emanuela)

Hey everyone,

During the review, the two places where the font-size was off were:

  • permissions panels
  • modals

App menu's font-size visually seems to match what we have in the URL. At the moment, I'm not able to inspect this element in Nightly, so I can't confirm. In a nutshell: app menu is OK, don't need to make any change there.

Flags: needinfo?(rtestard)
Flags: needinfo?(emanuela)

Re-checked with Emanuela and came to the conclusion that we want 1.15em here,
as that matches best with the existing size of the URL bar as well as the figma
spec. Additionally, I kept the font: caption stuff preserved by applying the
1.15em font on descendents of the font: caption elements. It was difficult to
tell how much we care about using the system caption fonts - if it's really
optional we can simplify things by just removing that. Lastly, I just applied
this to all doorhangers which seemed relevant other than the Pocket doorhanger
(since it has an image in it and generally seems to want its own styling) as
well as extension doorhangers, for obvious reasons.

See Also: → 1701920
Whiteboard: [proton-door-hangers] → [proton-door-hangers][priority:2a]
Whiteboard: [proton-door-hangers][priority:2a] → [proton-door-hangers] [priority:2a]

Looks like this was fixed by that other bug. Thanks, all!

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: