Lea_Lacroix_WMDE created this task.
Lea_Lacroix_WMDE added a project: Wikidata-Query-Service.
Herald added a subscriber: Aklapper.
Herald added projects: Wikidata, Discovery.

TASK DESCRIPTION

When a query viewed in TreeMap is displayed via embed.html, some problems occurs: both background color and text color are white, so the text can't be read, and other minor css problems. When displayed in the query page, no bug occurs.

F6518547: unnamed.png

Example of a query

Same example embedded

Tested on Firefox 52.0 and Chromium with same results.

Possible cause: embed.html and the main query service page doesn't use exactly the same CSS and JS. In the main page, the graph is included in a div with attributes

id="query-result" style="display: block;"

In the embed page, this div has only

id="query"

Modifying DOM and the attributes makes embed.html displaying the graph correctly.

F6518670: unnamed2.png


TASK DETAIL
https://phabricator.wikimedia.org/T160320

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lea_Lacroix_WMDE
Cc: Aklapper, Jonas, Lea_Lacroix_WMDE, EBjune, merbst, Avner, debt, Gehel, D3r1ck01, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to