Page MenuHomePhabricator

Resize the OOUI 'x` close icon?
Closed, ResolvedPublic

Description

There's not a single application where the 20x20px close icon is a good fit IMHO:
Current treatment with 20x20px filling canvas

image.png (150×1 px, 30 KB)

Override in Popups to 16x16px

image.png (334×750 px, 22 KB)

We should think if deriving from our own guidelines would make sense in this case or if we want to add another icon…

Event Timeline

Going for 16x16 seems great.

Yes, that was my first thought too. We derive from the standard size in the 'add' icon already which seems like a similar case.

@RHo Any feelings about this? I've just looked at the Personalized First Day implementation again and had the same reaction about 20x20px being too large that made me file this.

@RHo Any feelings about this? I've just looked at the Personalized First Day implementation again and had the same reaction about 20x20px being too large that made me file this.

Sure, 16x16px seems to work well.

Change 482756 had a related patch set uploaded (by VolkerE; owner: VolkerE):
[oojs/ui@master] icons: Decrease 'close' size marginally

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

Volker_E moved this task from Backlog to Reviewing on the OOUI board.

@RHo Should we make a note in icon page or remain silent about this special case?

I think we don't need to mention this one exception case

you should probably leave a link to this bug in the code, to prevent someone from "fixing" this in future

Change 482756 merged by jenkins-bot:
[oojs/ui@master] icons: Decrease 'close' size marginally

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

Volker_E claimed this task.
Volker_E moved this task from Reviewing to OOUI-0.30.1 on the OOUI board.
Volker_E edited projects, added OOUI (OOUI-0.30.1); removed OOUI.
Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.

Change 483796 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/core@master] Update OOUI to v0.30.1

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

Change 483796 merged by jenkins-bot:
[mediawiki/core@master] Update OOUI to v0.30.1

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