FANDOM


 
Linia 1: Linia 1:
Hey :) Though I've had to reject the latest revision again, you're getting close to a solution here. An if/else solution seems smart to me, but your CSS selectors are a little off. Try using <code>.wds-dropdown.page-header__toggle</code> in the "if" part, and <code>.wds-button-group</code> for the "else". You're just trying to say "if the language dropdown exists, attach the icon to it, but if it doesn't, then attach it to the edit button."
+
Hey :) Though I've had to reject the latest revision again, you're getting close to a solution here. An if/else solution seems smart to me, but your CSS selectors are a little off. Try using <code>.wds-dropdown.page-header__languages</code> in the "if" part, and <code>.wds-button-group</code> for the "else". You're just trying to say "if the language dropdown exists, attach the icon to it, but if it doesn't, then attach it to the edit button."
   
 
I'd also recommend that you use pixels, rather than em, as the units to place them away from those two selectors. In this case, you want them a fixed distance away from the buttons, and em would be a more relative distance.
 
I'd also recommend that you use pixels, rather than em, as the units to place them away from those two selectors. In this case, you want them a fixed distance away from the buttons, and em would be a more relative distance.

Aktualna wersja na dzień 03:02, sie 30, 2018

Hey :) Though I've had to reject the latest revision again, you're getting close to a solution here. An if/else solution seems smart to me, but your CSS selectors are a little off. Try using .wds-dropdown.page-header__languages in the "if" part, and .wds-button-group for the "else". You're just trying to say "if the language dropdown exists, attach the icon to it, but if it doesn't, then attach it to the edit button."

I'd also recommend that you use pixels, rather than em, as the units to place them away from those two selectors. In this case, you want them a fixed distance away from the buttons, and em would be a more relative distance.

While you're trying to get it in the right place, don't forget to use the "Włącz tryb testowy" button in the "Status przeglądu JavaScript" to help you see what your changes are doing. As you've probably seen already, I've found the Mal page a good one to test with. Test by removing, and then re-adding, the interlanguage links. That'll show you where your icon is going. The current revision has the icon right in the middle of the categories, which is the reason it got rejected.

I know this is probably a little frustrating, but with a little trial-and-error — and the use of the Włącz tryb testowy button — you'll figure it out!

Treści społeczności są dostępne na podstawie licencji CC-BY-SA , o ile nie zaznaczono inaczej.