mediawiki-extensions-Syntax.../modules
Bartosz Dziewoński 006e6c6f0f Fix styling for code blocks with copy buttons next to floated content
Make the wrapper div for code block create a block formatting
context. This changes how floated content is laid out: previously
the wrapper was taking 100% width and tried to wrap text around the
floated content, now its width is limited by the width of floated
content. This way absolutely positioned elements inside the code
block (like the copy buttons) won't overlap the floated content.
We've had this problem before when adding line numbers (T272853),
and the workaround we used there won't work for the copy buttons.
It also lets us remove the background-color override, previously
needed to avoid it leaking outside the code block (T126010).

Bug: T40932
Change-Id: I7f51ea78d7fcf07358c6ee45275b2bae2e1cbeb8
2024-10-09 21:48:52 +02:00
..
ve-syntaxhighlight build: Update eslint-config-wikimedia to 0.28.0 2024-06-06 16:33:02 +01:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.28.0 2024-06-06 16:33:02 +01:00
pygments.copy.js Implement copy buttons for code blocks 2024-09-11 01:31:14 +05:30
pygments.copy.less Fix styling for code blocks with copy buttons next to floated content 2024-10-09 21:48:52 +02:00
pygments.generated.css Support dark mode for code blocks 2024-09-28 23:06:30 +05:30
pygments.linenumbers.js Fix accidental use of IIFE 2024-09-11 00:11:59 +05:30
pygments.links.js ode-link: Fix link for URLs without protocol 2024-09-26 20:03:22 +01:00
pygments.links.scribunto.js Link page references in Scribunto modules 2024-09-24 22:47:56 +05:30
pygments.wrapper.less Fix styling for code blocks with copy buttons next to floated content 2024-10-09 21:48:52 +02:00