阻止长按图片

This commit is contained in:
kuaifan 2022-06-19 09:26:17 +08:00
parent cf0a431fff
commit 793f6152ff
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@
.el-avatar {
> img {
margin: 0 auto;
pointer-events: none;
-webkit-touch-callout: none;
}
}
> em {

View File

@ -356,6 +356,8 @@
> img {
max-width: 100%;
max-height: 100%;
pointer-events: none;
-webkit-touch-callout: none;
}
&:hover {
transform: scale(1.4);