cli icon indicating copy to clipboard operation
cli copied to clipboard

added support for @ page rule

Open fabianmieller opened this issue 7 years ago • 2 comments

Added support for @ page rule

if rule.type === 'page' then i added the @ page rule + the selectors.

i also added a case for type 'page'.

Results:

"@page": {
        "margin": "2cm",
},
"@page :left": {
        "margin-left": "4cm",
        "margin-right": "3cm"
},
 "@page :right": {
        "margin-left": "4cm",
        "margin-right": "3cm"
}

fabianmieller avatar Aug 08 '18 15:08 fabianmieller

I don't think we will accept this PR for now because @page rules aren't supported in jss yet

HenriBeck avatar Aug 12 '18 08:08 HenriBeck

we need to add @page support, we have an issue for that in jss repo

kof avatar Aug 12 '18 08:08 kof