unocss / unocss

The instant on-demand atomic CSS engine.

Home Page:https://unocss.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The inline style setting failed when I use transformerAttributifyJsx()

Sharang-heng opened this issue · comments

UnoCSS version

0.45.21

Describe the bug

Set the inline style to the div
image
padding、margin、fontSize are missing
image
but when I set padding:0,is success
image
If I close the transformerAttributifyJsx。the style work
image
image

Reproduction

https://github.com/Sharang-heng/vue3-issue

System Info

I need to set inline style to change antd Card style
image

Validations