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
Concept introduction : 1. px (pixel): It is a vir...
After studying React for a while, I want to put i...
This article example shares the specific code of ...
Find the problem Recently, I found a problem at w...
environment Linux 3.10.0-693.el7.x86_64 Docker ve...
This article shares MYSQL logs and backup and res...
Scenario: A laradock development environment (php...
1. What is scaffolding? 1. Vue CLI Vue CLI is a c...
The final solution is in the last picture If you ...
This article shares the installation and configur...
The react version when writing this article is 16...
1. HTML Overview htyper text markup language Hype...
Click here to return to the 123WORDPRESS.COM HTML ...
This article example shares the specific code of ...
How to view linux files Command to view file cont...