Skip to content

Build your personal knowledge base with Trilium Notes

fix sizing of toast since bootstrap 4.5.1

zadam121c819b79de
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 93c531346f..ebf1cd02bc 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -640,6 +640,7 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
color: var(--main-text-color) !important;
z-index: 9999999999 !important;
pointer-events: all;
+ flex-basis: 0; /* otherwise toast is always at least 350px tall (happens since 4.5.1, perhaps a bug) */
}
.toast-header {