octfx / mediawiki-extensions-TemplateStylesExtender

Extends TemplateStyles with new selectors and matchers.
https://mediawiki.org/wiki/Extension:TemplateStylesExtender
GNU General Public License v2.0
6 stars 3 forks source link

Support using variables in grid-template-columns as second and later values #14

Closed alex4401 closed 4 months ago

alex4401 commented 1 year ago

These examples currently fail, which seems unintentional:

    grid-template-columns: repeat(2, minmax(0, 1fr)) var(--right-rail-size);
    grid-template-columns: 1fr var(--right-rail-size);
    grid-template-columns: minmax(0, 1fr) var(--right-rail-size);
alistair3149 commented 5 months ago

Looking for a similar use case too:

 grid-template-columns: repeat(var(--column count), minmax(0, 1fr))
octfx commented 4 months ago

This should now be possible in v1.2.1