Size restrict images inside noscript tags
Bug: T191893 Change-Id: Ibbba75fcb978b3b049f4cb100f39146d39ebf6af
This commit is contained in:
parent
c31f546bc0
commit
a03f159e55
|
@ -49,7 +49,10 @@
|
|||
// Prevent inline styles on images in wikitext
|
||||
// Note we restrict to img's to avoid conflicts with VisualEditor shields
|
||||
// See bug T64460
|
||||
a > img {
|
||||
a > img,
|
||||
// due to lazy loading images we also must consider imgs inside noscript tags (T191893)
|
||||
noscript > img,
|
||||
{
|
||||
// make sure that images in articles don't cause a horizontal scrollbar
|
||||
// on small screens
|
||||
max-width: 100% !important;
|
||||
|
|
Loading…
Reference in New Issue