diff --git a/src/public/stylesheets/share.css b/src/public/stylesheets/share.css index 5efbfc59d..69acd3e1c 100644 --- a/src/public/stylesheets/share.css +++ b/src/public/stylesheets/share.css @@ -6,11 +6,11 @@ body { max-width: 1200px; margin: 0 auto; display: flex; - flex-direction: row; + flex-direction: row-reverse; } #menu { - padding: 20px; + padding: 25px; flex-basis: 0; flex-grow: 1; overflow: auto; diff --git a/src/share/routes.js b/src/share/routes.js index e1db87f33..465c7d373 100644 --- a/src/share/routes.js +++ b/src/share/routes.js @@ -94,7 +94,7 @@ function getContent(note) { content = '

This note type cannot be displayed.

' + getChildrenList(note); } - return `
${content}`; + return content; } function register(router) { diff --git a/src/views/share.ejs b/src/views/share.ejs index 71d9adf56..9c90ecedb 100644 --- a/src/views/share.ejs +++ b/src/views/share.ejs @@ -12,21 +12,21 @@
- <% if (subRoot.hasChildren()) { %> - - - - <% } %> -

<%= note.title %>

-
-
<%- content %>
+
+ <%- content %>
+ + <% if (subRoot.hasChildren()) { %> + + + + <% } %>