File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
@using Microsoft .AspNetCore .StaticFiles
2
2
@if (string .IsNullOrEmpty (PreviewImageUrlFallback ))
3
3
{
4
- <img src =" @PreviewImageUrl" alt =" Preview image blogpost" loading =" @LazyLoadTag" decoding =" @DecodingTag" />
4
+ <img class = " preview-img " src =" @PreviewImageUrl" alt =" Preview image blogpost" loading =" @LazyLoadTag" decoding =" @DecodingTag" />
5
5
}
6
6
else
7
7
{
8
8
<picture >
9
9
<source srcset =" @PreviewImageUrl" type =" @GetMimeType()" />
10
- <img src =" @PreviewImageUrlFallback" alt =" Preview image blogpost" loading =" @LazyLoadTag" decoding =" @DecodingTag" />
10
+ <img class = " preview-img " src =" @PreviewImageUrlFallback" alt =" Preview image blogpost" loading =" @LazyLoadTag" decoding =" @DecodingTag" />
11
11
</picture >
12
12
}
13
13
Original file line number Diff line number Diff line change 8
8
width : 125px ;
9
9
}
10
10
11
- comp -img {
11
+ . preview -img {
12
12
position : absolute;
13
13
top : 0 ;
14
14
left : 0 ;
You can’t perform that action at this time.
0 commit comments