Page MenuHomePhabricator

Adapt image tooltip for the dark mode
Open, Needs TriagePublic

Description

Suggested image tooltip in search results (example):

Screenshot 2024-08-05 at 10.58.20.png (592×646 px, 76 KB)

.mw-searchresults-has-iw .iw-result__mini-gallery__image > .iw-result__mini-gallery__caption {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    color: var(--color-inverted,#fff);
    font-size: 0.8em;
    padding: 0.5em;
    background-color: rgba(0,0,0,0.5)
}

Event Timeline

Jdlrobson added subscribers: Gehel, Jdlrobson.

@Gehel the web team isn't responsible for this code so I've untagged web backlog: https://gerrit.wikimedia.org/g/mediawiki/core/+/f78d2f950d6a8a5b8f8bbf57c027e77d450d06f0/resources/src/mediawiki.special.search.interwikiwidget.styles.less

Let me know if you need help identifying appropriate maintainers. I'd be happy to help review a patch if a reviewer is needed.

Change #1092786 had a related patch set uploaded (by Kooogi; author: Kooogi):

[mediawiki/core@master] Adapt image tooltip for the dark mode

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

Change #1092786 merged by jenkins-bot:

[mediawiki/core@master] Adapt image tooltip for the dark mode

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