Small fixes on placeholder images

This commit is contained in:
alistair3149 2019-08-16 00:27:50 -04:00
parent 1ae5b6ecf5
commit 5607a5541e

View file

@ -673,18 +673,15 @@ figcaption,
.thumb {
>.thumbinner {
>a {
display: block;
overflow: hidden;
width: fit-content; // Get rid of extra pixels from thumbinner
transition: @transition-box-shadow-quick!important;
transition: @transition-box-shadow-quick !important;
&:hover:not(.lazy) {
background: 0!important;
.boxshadow(2);
background: 0 !important;
.boxshadow(2);
}
&:before {
content: none;
content: none;
}
&.new {
@ -696,15 +693,21 @@ figcaption,
}
}
.image img {
filter: none;
transition: @transition-filter;
a.image {
display: block;
overflow: hidden;
width: fit-content; // Get rid of extra pixels from thumbinner
&.lazy {
display: block;
background-color: @base-90;
filter: blur(20px);
}
img {
filter: none;
transition: @transition-filter;
&.lazy {
display: block;
background-color: @base-90;
filter: blur(20px);
}
}
}
// Hide edit button when user is not logged in