fix(core): 🐛 responsive thumbnail on new media structure

这个提交包含在:
alistair3149 2023-02-22 15:12:06 -05:00
父节点 54c8717d45
当前提交 ddb425c4bb
找不到此签名对应的密钥
共有 3 个文件被更改,包括 9 次插入7 次删除

查看文件

@ -40,13 +40,6 @@
grid-area: content;
}
a.image {
> img {
max-width: inherit;
height: auto;
}
}
@media ( min-width: @width-breakpoint-desktop ) {
.citizen-page-container {
// Reserve space for header

查看文件

@ -15,6 +15,9 @@ figure[ typeof~='mw:File/Frame' ] {
overflow: hidden;
> img {
max-width: 100%;
// Needed to override inline styles
height: auto !important;
contain: strict;
transition: @transition-transform;
}

查看文件

@ -17,6 +17,12 @@
margin-right: 1px;
// Counter the weird hardcoded 2px width added by core
margin-left: 1px;
> img {
max-width: inherit;
// Needed to override inline styles
height: auto !important;
}
}
&:before {