Page MenuHomePhabricator

Sidebar width in (RTL) Urdu Wikipedia is larger than other Wikipedias
Closed, InvalidPublic

Description

Hi,
Width of Sidebar in Urdu Wikipedia is not correct, it have extra space between content body and sidebar. See this screenshot, I highlighted the extra space:

UrduWikiSidebar.png (571×205 px, 27 KB)

And we need like this:

UrduWikiSidebarExpected.png (473×166 px, 15 KB)

Event Timeline

In Firefox,

  • "mw-panel" has 160px width (computed) on en.wikipedia.org.
  • "mw-panel" has 193.667px width (computed) on ur.wikipedia.org.

Does this create any usability issues (as you write that you "need" this)? Or is this just that it does not "look the same"?

Aklapper renamed this task from Sidebar width in Urdu Wikipedia to Sidebar width in (RTL) Urdu Wikipedia is larger than other Wikipedias.Aug 16 2016, 4:49 PM

Likely INVALID/WONTFIX as it is intended/expected behavior:

div#mw-panel {
  font-size: inherit;
  padding-top: 1em;
  position: absolute;
  right: 0;
  top: 160px;
  width: 10em; /* ← relative units depending on the used font creating different absolute lengths */
}

And you have override of font-size to 110% unlike the 100% used on enwiki.

Danny_B triaged this task as Lowest priority.Aug 16 2016, 5:00 PM

In Firefox,

  • "mw-panel" has 160px width (computed) on en.wikipedia.org.
  • "mw-panel" has 193.667px width (computed) on ur.wikipedia.org.

Does this create any usability issues (as you write that you "need" this)? Or is this just that it does not "look the same"?

No, it does not create any issue, but looks odd.

Likely INVALID/WONTFIX as it is intended/expected behavior:

div#mw-panel {
  font-size: inherit;
  padding-top: 1em;
  position: absolute;
  right: 0;
  top: 160px;
  width: 10em; /* ← relative units depending on the used font creating different absolute lengths */
}

And you have override of font-size to 110% unlike the 100% used on enwiki.

So any solution to fix? Should we set font-size to 100%?

You can try/find 'solutions' by directly editing via your web browser's developer tools.

Closing as per T143097#2557680 (thanks for investigating, Danny!)