Page MenuHomePhabricator

The font size of headings in the "Format" dropdown doesn't match the font size in the page content (in MonoBook skin)
Closed, ResolvedPublic

Description

The Sub-heading 4 font as shown in the Text Style drop-down does not match with the other Sub-headings in it.

Screenshot:

image.png (980×1 px, 174 KB)

(old screenshot: F15333)

Task: Update the styles for VisualEditor's "Format" dropdown when using the MonoBook skin, so that the text size for headings inside the dropdown is the same as their size on the page.

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:58 AM
bzimport set Reference to bz70559.

Created attachment 17076
monobook Sub-heading 4 with font-size 85%

Attached:

Screen_Shot_2014-11-07_at_3.37.29_PM.png (455×1 px, 168 KB)

Confirmed - Sub-headings(started with Sub-heading 1) are decreasing proportionally like this: 130, 115, 100(for Sub-heading 3). However, for Sub-heading 4 - it has font-size: 80% instead of 85%.

Look at the attached screenshot where Sub-heading 4 has font-size: 85% - it looks much more proportional relative to other Sub-headings.

matmarex subscribed.

This is still a problem, the font size in the menu doesn't match the font size in the page content:

image.png (980×1 px, 159 KB)
image.png (980×1 px, 174 KB)

Looks like VE's styles were never updated after the change to heading font sizes in MW: rMW237787cbadaa: skins: Ensure headings are not smaller than body text.

(this may look like my fault, but it's not, I was not on the VE team then yet ;) )

matmarex renamed this task from VisualEditor: Sub-heading 4 font, does not match with the other heading style fonts, in Monobook to The font size of headings in the "Format" dropdown doesn't match the font size in the page content (in MonoBook skin).EditedOct 23 2018, 5:43 AM
matmarex moved this task from Proposed tasks to Imported in GCI Site on the Google-Code-in-2018 board.
opentechno subscribed.
opentechno unsubscribed.

Change 470992 had a related patch set uploaded (by Bjornskjald; owner: Bjornskjald):
[mediawiki/extensions/VisualEditor@master] Update the styles for VisualEditor's "Format" dropdown

https://gerrit.wikimedia.org/r/470992

Change 470992 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update the styles for VisualEditor's "Format" dropdown

https://gerrit.wikimedia.org/r/470992