Use img tag instead of background-image for custom icon to avoid flickering
This commit is contained in:
+10
-1
@@ -395,6 +395,7 @@ multiselect {
|
||||
|
||||
// same as settings-avatar
|
||||
.app-custom-icon {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
@@ -404,9 +405,17 @@ multiselect {
|
||||
border: 1px solid gray;
|
||||
border-radius: 3px;
|
||||
|
||||
.overlay {
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.overlay {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
background-color: rgba(255, 255, 255 ,0.3);
|
||||
background-image: url('/img/plus.png');
|
||||
background-repeat: no-repeat;
|
||||
|
||||
Reference in New Issue
Block a user