Page MenuHomePhabricator

PTF Checkbox does not align right to left on Desktop Small Banner
Closed, ResolvedPublic

Description

Summary:
It was noticed during testing today that the Pay The Fee checkbox does not align from right to left in languages that are oriented in this fashion.

PTFNotRightOriented.png (646×709 px, 59 KB)

Steps to Reproduce:

  1. Open https://he.wikipedia.org/w/index.php?title=%D7%A0%D7%90%D7%A1%22%D7%90&banner=B1920_1216_en6C_dsk_p2_sm_endowment_template&country=IL
  2. Observe checkbox is still on the left side of the banner

Expected Results:
The PTF checkbox should appear on the right side of the banner in languages that are written from right to left

Actual Results:
Currently the PTF checkbox does not align to the right side of the banner in languages written from right to left

Related Objects

Event Timeline

Updating priority to P3 since Big Bundle campaign needs this, but only affects one country

@jbolorinos-ctr This should be fixed now, please can you confirm? https://he.wikipedia.org/?banner=B1920_0301_mlWW_dsk_p1_lg_cnt&country=IL

I also double checked and it appears RTL languages don't need to mirror the checkmark itself, or at least we don't in the standard MediaWiki interface.

Hey @Pcoombe

That's so interesting, so the checkbox must be aligned RTL but not the checkmark itself? So weird!!!

Anyways, I was able to verify the checkbox is aligned RTL on Desktop Large now, but not on Desktop Small unfortunately. Can we please update that code as well to align the checkbox?

No problem Peter! This is why it's good practice to verify these fixes! :)

image.png (814×1 px, 165 KB)

I've now verified this fix on Desktop Small, so closing this as Resolved now.