MediaWiki talk:Gadget-ReferenceTooltips.js: Difference between revisions
Content deleted Content added
→Update request 9 July 2024: Reply |
→Update request 9 July 2024: Reply |
||
Line 250:
</syntaxhighlight>works. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 07:44, 10 July 2024 (UTC)
::::Also, two questions to @[[User:Jon (WMF)|Jon (WMF)]]: Is there a chance that CSS variables like <code>--font-size-medium</code> will land in skins other than Vector 2022 and Minerva? Is <code>#mw-teleport-target</code> reliable to be used by gadgets like this one (that seek the font size more or less equal to the body font size)? [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 08:56, 10 July 2024 (UTC)
:::::https://doc.wikimedia.org/mediawiki-core/master/js/module-mediawiki.page.ready.html#.teleportTarget is in the documentation so is therefore stable.
:::::The font size variables are not stable as they are not part of https://doc.wikimedia.org/codex/latest/design-tokens/overview.html yet. (FWIW officially CSS variables are currently not covered under the stable policy but that conversation is underway). [[User:Jon (WMF)|Jon (WMF)]] ([[User talk:Jon (WMF)|talk]]) 23:04, 10 July 2024 (UTC)
::::I think it would be fine to have the reference preview font size match the body font size if it's less work to compute. [[User:SWinxy|SWinxy]] ([[User talk:SWinxy|talk]]) 22:38, 10 July 2024 (UTC)
::{{tq|1=Footnote boxes are the same width as before but now much less text fits on each line}}<br>This actually made me think that probably we should also made the tooltip wider when the user opted for the large font size in ''Vector''. [[User:JWBTH|Jack who built the house]] ([[User:JWBTH|talk]]) 06:57, 10 July 2024 (UTC)
|