fix image sizes in /slide/

pull/1/head
Pierre Bondoerffer 7 years ago
parent 88be5444f0
commit f585ddccdf
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -60,6 +60,10 @@ define([
return out;
};
renderer.paragraph = function (p) {
return /<media\-tag[\s\S]*>/i.test(p)? p + '\n': '<p>' + p + '</p>\n';
};
var MutationObserver = window.MutationObserver;
var forbiddenTags = [
'SCRIPT',

@ -336,6 +336,15 @@ div#modal #content, #print {
padding-left: 0.3em;
}
// fixes image overflowing
media-tag {
height: 100%;
& + * {
margin-top: 1rem;
}
}
img {
position: relative;
min-width: 1%;

Loading…
Cancel
Save