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
This article shares the installation and configur...
In this article, we would like to share with you ...
Create Table create table table name create table...
Table of contents K8S Master Basic Architecture P...
tomcat is an open source web server. The web base...
hint This plug-in can only be accessed under the ...
Cause of failure Today, when I was writing a caro...
Page: base: <template> <div class="...
Git is integrated in vscode, and many operations ...
MySQL supports three types of comments: 1. From t...
undefined In JavaScript, if we want to determine ...
In many cases, in order to beautify the form, the ...
JDK Installation I won't go into too much det...
When using lepus3.7 to monitor the MySQL database...
Table of contents 1. typeof operator 2. instanceo...