SoFunction
Updated on 2025-04-05

Solution to invalid style modification of element component in vue

As shown below:

<style>
.detail{
 .el-input__inner {
 height: 48px;
 }
}
</style>

When writing style directly, be careful not to scoped, and then wrap it with the outermost class of a component, so that it will not change the style of all components.

The solution to the invalid style modification of element component in the above article is the entire content I share with you. I hope you can give you a reference and I hope you can support me more.