When using element-ui, there is a commonly used component, that is el-popover, but the style and usage in the element-ui official document are relatively limited, and the style needs to be changed when using it I used el-popover in my project, but I have not been able to modify the style. Let's take a look at what the official documentation says. Add a class name, string type, ok, add one <el-popover placement="right" width="400" trigger="hover" popper-class="my-popover" > To set the style <style lang="scss" scoped> .my-popover{ padding:20px; } </style> The result is that the setting was not successful! <style> my-popover{ padding:10px 30px; } </style> Still no effect! ! ! <style> .el-popover.my-popover{ padding:10px 30px; } </style> Modification successful! This is the end of this article about the solution to the problem that the modified style of elementui's el-popover does not take effect. For more related content about el-popover style not taking effect, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to set up swap partition SWAP in Linux 7.7
>>: Complete steps to install MySQL 8.0.x on Linux
Table of contents Why do we need Docker? Docker d...
1. Background In actual projects, we will encount...
Today I will take you through the history of ext4...
Arrange by functionNN : Indicates which earlier ve...
1. Image formats supported on the WEB: GIF: can s...
We all know that the performance of applications ...
Docker image download is stuck or too slow I sear...
Table of contents 1. Brief Overview 2. Detailed e...
The layout problem of irregular picture walls enc...
There are two ways to delete data in MySQL: Trunc...
New Questions Come and go in a hurry. It has been...
Preface As we all know, by default, the MySQL ins...
Table of contents 1. Comparison of data before an...
After configuring the tabBar in the WeChat applet...
Use pure CSS to change the background color of a ...