Skip to content

[Bug]: Taro 平台,小程序使用正常,换成H5端,样式就被taro 自定义的html 标签默认样式覆盖了 #630

Description

@wangzijun920630

weapp-tailwindcss 版本

4.0.11

tailwindcss 版本

4.0.9

框架 & 小程序平台

taro react 编译到H5

最小复现bug的代码仓库链接

No response

复现bug的步骤

小程序使用正常,换成H5端,样式就被taro 自定义的html 标签默认样式覆盖了,怀疑是tailwindcss4.0 layer之后样式优先级比较低,所以被覆盖

预期是什么?

H5端、小程序段都可以正常使用

实际发生了什么?

小程序使用正常,换成H5端,样式就被taro 自定义的html 标签默认样式覆盖了,怀疑是tailwindcss4.0 layer之后样式优先级比较低,所以被覆盖

运行环境

mac/node18.20.2

其他附加信息

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions