FIX: excludes .svg-as-img from JS sizing (#12906)
This commit is contained in:
parent
d3b05f8a9c
commit
2f0205e5c8
|
@ -27,7 +27,7 @@ export default {
|
|||
|
||||
const styleTag = document.createElement("style");
|
||||
styleTag.id = "image-sizing-hack";
|
||||
styleTag.innerHTML = `#reply-control .d-editor-preview img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji), .cooked img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji) {${styles}}`;
|
||||
styleTag.innerHTML = `#reply-control .d-editor-preview img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji), .cooked img:not(.thumbnail):not(.ytp-thumbnail-image):not(.emoji):not(.svg-as-img) {${styles}}`;
|
||||
document.head.appendChild(styleTag);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue