mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
read only view images should not overflow
This commit is contained in:
parent
e08b0141a4
commit
b063b4c528
@ -22,6 +22,10 @@ const TPL = `
|
|||||||
.note-detail-readonly-text p:first-child, .note-detail-text::before {
|
.note-detail-readonly-text p:first-child, .note-detail-text::before {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-detail-readonly-text img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="alert alert-warning no-print">
|
<div class="alert alert-warning no-print">
|
||||||
@ -77,4 +81,4 @@ export default class ReadOnlyTextTypeWidget extends AbstractTextTypeWidget {
|
|||||||
this.loadIncludedNote(noteId, $(el));
|
this.loadIncludedNote(noteId, $(el));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user