mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
fix large image deforming the note revisions dialog, closing #2216
This commit is contained in:
parent
f6776df645
commit
e09b2902fa
@ -1,4 +1,16 @@
|
||||
<div id="note-revisions-dialog" class="modal fade mx-auto" tabindex="-1" role="dialog">
|
||||
<style>
|
||||
#note-revision-content {
|
||||
overflow: auto;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
#note-revision-content img {
|
||||
max-width: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="modal-dialog modal-xl" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
@ -29,9 +41,9 @@
|
||||
<div id="note-revision-title-buttons"></div>
|
||||
</div>
|
||||
|
||||
<div id="note-revision-content" style="overflow: auto; word-break: break-word;"></div>
|
||||
<div id="note-revision-content"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user