Page MenuHomePhabricator

Adjust Translation view header
Open, MediumPublic

Description

As part of MinT for Wiki Readers MVP (T359072), the Translation View (T359801) provides a machine translated version of the contents of a wiki page. In the current implementation, the header to indicate that contents are a machine translation is shown with a margin around it. This makes it look more like an info panel rather than a header.

This ticket proposes to adjust the spacing of the header to avoid additional margin at the sides and on top. The images below show the current and proposed states:

CurrentProposed
ig.m.wikipedia.org_wiki_Ih%C3%BC_k%C3%A1r%C3%ADr%C3%AD_AutomaticTranslation_page=Moon&from=en&to=ig&step=translation(Wiki Mobile) (1).png (568×320 px, 46 KB)
ig.m.wikipedia.org_wiki_Ih%C3%BC_k%C3%A1r%C3%ADr%C3%AD_AutomaticTranslation_page=Moon&from=en&to=ig&step=translation(Wiki Mobile).png (568×320 px, 50 KB)