Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/floating buttons: tweak

Adorian Doran4292d67b959b
diff --git a/src/public/stylesheets/theme-next/shell.css b/src/public/stylesheets/theme-next/shell.css
index e78874a57e..57b5456221 100644
--- a/src/public/stylesheets/theme-next/shell.css
+++ b/src/public/stylesheets/theme-next/shell.css
@@ -1445,12 +1445,21 @@ div.floating-buttons-children .close-floating-buttons:has(.close-floating-button
position: absolute;
}
-/* Code buttons */
+/* Code, relation map buttons */
-.floating-buttons .code-buttons-widget {
+.floating-buttons .code-buttons-widget,
+.floating-buttons .relation-map-buttons {
gap: 0;
}
+/* Individual icon position / size corrections */
+
+/* Table of contents */
+.floating-buttons .bx-spreadsheet::before {
+ /* Note: since the icon is rotated, a positive top margin will actually shift the icon upwards */
+ margin-top: .1em;
+}
+
/* The highlight animation */
@keyframes floating-button-highlight {