Pablo-WMDE added a comment.

  I looked at the patch 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/532729> as it 
evolved and tried to rebase it. In the mean time changes by the same author 
were merged (for T230328 <https://phabricator.wikimedia.org/T230328>) into the 
main line which take a different approach to a somewhat similar challenge so I 
don't quite know which is the desired one...
  
  So maybe first things first: do we agree that at default base font size 
(16px), the size of the padding should be a computed value of 16px?
  We probably don't want to express this in px but use a relative unit instead. 
Do we consequently want this padding to be relative to the font-size of this 
element (arguably an inherited one) or the base font size? In my suggestion I 
went with the first option because that's what happens in OOUI 
(1.14285714**em**, not rem).
  Based on that decision we can talk about different ways to reach that goals 
and possible functions to made the code more convenient/elegant (e.g. a 
`calculate-em()` function).
  
  A side note: I don't see much value in putting //all// variables in the 
`_variables` file, especially so if they are only used once and carry overly 
specific names (effectively ruling out even future reuse).

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

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

To: Michael, Pablo-WMDE
Cc: Pablo-WMDE, Aklapper, Michael, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, DannyS712, CucyNoiD, 
Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Lahi, Gq86, Af420, Darkminds3113, Bsandipan, Lordiis, 
GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
LawExplorer, WSH1906, Lewizho99, Maathavan, _jensen, rosalieper, Wikidata-bugs, 
aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to