We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你有没有碰到unocss样式覆盖的问题, 就是比如
//自己封装的组件 const ComponetA = ({className}) => <div className={`w-100 ${className}`}>a</div/> //在外面使用 const ComponetB = () => <div><ComponetA className='w-200'/></div/>
A组件默认宽度是100px, 在外层调用时加个w-200类名覆盖原样式, 期望是变成200px, 但不能覆盖成功, 宽度还是100px, 这种情况应该怎么办
The text was updated successfully, but these errors were encountered:
除了在前面加 !, 还有更好的办法吗
Sorry, something went wrong.
No branches or pull requests
你有没有碰到unocss样式覆盖的问题, 就是比如
A组件默认宽度是100px, 在外层调用时加个w-200类名覆盖原样式, 期望是变成200px, 但不能覆盖成功, 宽度还是100px,
这种情况应该怎么办
The text was updated successfully, but these errors were encountered: