Page MenuHomePhabricator

Constraint violation icon on a statement's value can overlap the "mark as prominent" text
Closed, ResolvedPublicBUG REPORT

Description

When you have a constraint violation on a property value (not on one of the qualifiers), it's possible for it to overflow into the "mark as prominent" text.

image.png (1,650×466 px, 284 KB)

Noticed this while working on T404158: "Remove" icon can run-off off the end of structured data widget items, but this is distinct enough that I figured I would make a separate ticket for it. I think it can be fixed by making the icon relatively positioned instead of absolutely positioned, though I haven't checked to see if that causes any new issues yet.

Event Timeline

Change #1187093 had a related patch set uploaded (by Perryprog; author: Perryprog):

[mediawiki/extensions/WikibaseMediaInfo@master] style: adjust shrink behavior of statements

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

Change #1187093 merged by jenkins-bot:

[mediawiki/extensions/WikibaseMediaInfo@master] style: adjust shrink behavior of statements

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