mirror of https://github.com/xwiki-labs/cryptpad
fix image sizes in /slide/
This commit is contained in:
parent
88be5444f0
commit
f585ddccdf
|
@ -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…
Reference in New Issue