Page MenuHomePhabricator

Font size in error dialog is too large
Closed, ResolvedPublic

Description

Body text and buttons should use normal UI 14px font size. Currently the whole dialog uses 18px, but probably only the header should use the larger size:

ObservedExpected
image.png (312×544 px, 36 KB)
image.png (288×545 px, 42 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This was done deliberately in rEREI404454b38e8c: form: Show dialog to visit Special:ChangeEmail but I also agree that there is no need to use the large size overrides here:

.ext-reportincident-emaildialog {
	font-size: @font-size-large;
	line-height: @line-height-medium;
}

@KColeman-WMF would it be OK to remove these overrides?

Change #1098017 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/ReportIncident@master] EmailAlertDialog: Remove font size and line height overrides

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

This was done deliberately in rEREI404454b38e8c: form: Show dialog to visit Special:ChangeEmail but I also agree that there is no need to use the large size overrides here:

.ext-reportincident-emaildialog {
	font-size: @font-size-large;
	line-height: @line-height-medium;
}

@KColeman-WMF would it be OK to remove these overrides?

Agreed, the font-size should be the normal 14px size. Thanks for spotting this!

Change #1098017 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] EmailAlertDialog: Remove font size and line height overrides

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