diff --git a/src/public/javascripts/desktop.js b/src/public/javascripts/desktop.js index 439ba1fcb..25dd66202 100644 --- a/src/public/javascripts/desktop.js +++ b/src/public/javascripts/desktop.js @@ -165,6 +165,7 @@ async function printActiveNote() { "libraries/ckeditor/ckeditor-content.css", "libraries/bootstrap/css/bootstrap.min.css", "stylesheets/print.css", + "stylesheets/relation_map.css", "stylesheets/themes.css", "stylesheets/detail.css" ], diff --git a/src/public/stylesheets/detail.css b/src/public/stylesheets/detail.css index c441c231c..ee1d667bd 100644 --- a/src/public/stylesheets/detail.css +++ b/src/public/stylesheets/detail.css @@ -58,4 +58,12 @@ border-radius: 10px; padding: 5px; margin-top: 5px; +} + +.note-detail-image { + text-align: center; +} + +.note-detail-image-view { + max-width: 100%; } \ No newline at end of file diff --git a/src/public/stylesheets/print.css b/src/public/stylesheets/print.css index 6abc23c8d..f50a765a9 100644 --- a/src/public/stylesheets/print.css +++ b/src/public/stylesheets/print.css @@ -4,4 +4,8 @@ { display: none !important; } + + .relation-map-wrapper { + height: 100vh !important; + } } \ No newline at end of file diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 51c44c1b9..edbb06067 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -518,14 +518,6 @@ button.icon-button { padding: 5px; } -.note-detail-image { - text-align: center; -} - -.note-detail-image-view { - max-width: 100%; -} - pre:not(.CodeMirror-line) { color: var(--main-text-color) !important; white-space: pre-wrap; diff --git a/src/views/details/image.ejs b/src/views/details/image.ejs index 82e4228a2..7f226b67e 100644 --- a/src/views/details/image.ejs +++ b/src/views/details/image.ejs @@ -1,5 +1,5 @@
-
+
diff --git a/src/views/details/relation_map.ejs b/src/views/details/relation_map.ejs index 4b94cc6ff..93d5fd461 100644 --- a/src/views/details/relation_map.ejs +++ b/src/views/details/relation_map.ejs @@ -1,5 +1,5 @@
- -
+