Skip to content

Build your personal knowledge base with Trilium Notes

note actions dropdown sizing

azivner9f0ff6ae7a4b
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 99a5440638..04f9dc9893 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -390,6 +390,15 @@ button.icon-button {
background: no-repeat center;
}
+#note-actions {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
+#note-actions .dropdown-menu {
+ width: 15em;
+}
+
/* Themes */
html.theme-black, html.theme-black img, html.theme-black video {
diff --git a/src/views/index.ejs b/src/views/index.ejs
index 24e741f1f5..6ca38bbe6c 100644
--- a/src/views/index.ejs
+++ b/src/views/index.ejs
@@ -168,7 +168,7 @@
</ul>
</div>
- <div class="dropdown" style="margin-left: 10px; margin-right: 10px;">
+ <div class="dropdown" id="note-actions">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-sm">
Note actions
<span class="caret"></span>