优化图片懒加载及 RSS ✅
This commit is contained in:
@@ -30,12 +30,15 @@
|
||||
&>a {
|
||||
width: max-content;
|
||||
max-width: 100%;
|
||||
height: max-content;
|
||||
height: 2rem;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
transition: transform 0.16s ease-in-out;
|
||||
|
||||
&>img {
|
||||
height: calc(100% - 1px);
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
border-bottom: 1px solid #2563eb;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,12 @@
|
||||
height: 0.88rem;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user