如何修改组件的类名中的样式
#4139
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我需要修改n-image这个组件某个类名的样式,我要将预览图的背景设置为纯黑色,下面的写法错了吗?为什么不起效果呢?
<style scoped lang="scss"> :deep(.n-image-preview-container) { background-color: rgb(0, 0, 0, 1) !important; } </style>
Beta Was this translation helpful? Give feedback.
All reactions