Skip to content

Build your personal knowledge base with Trilium Notes

style/watched file change alert bar: tweak

Adorian Doran37d647261ac6
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index 78ccc9455e..4c06421fe8 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -1374,6 +1374,14 @@ body.mobile .note-title {
border-bottom: 2px solid #0000001c !important;
}
+body.experimental-feature-new-layout #center-pane .note-split > div.alert {
+ margin-top: 0;
+}
+
+body.experimental-feature-new-layout #center-pane .note-split > div.alert + .scrolling-container {
+ padding-top: 20px;
+}
+
/*
* Promoted attributes
*/
diff --git a/apps/client/src/widgets/watched_file_update_status.ts b/apps/client/src/widgets/watched_file_update_status.ts
index 4e3a93c818..b5c269680b 100644
--- a/apps/client/src/widgets/watched_file_update_status.ts
+++ b/apps/client/src/widgets/watched_file_update_status.ts
@@ -17,7 +17,7 @@ const TPL = /*html*/`
<p>${t("watched_file_update_status.file_last_modified")}</p>
- <div style="display: flex; flex-direction: row; justify-content: space-evenly;">
+ <div style="display: flex; flex-direction: row; justify-content: flex-start; gap: 8px;">
<button class="btn btn-sm file-upload-button">${t("watched_file_update_status.upload_modified_file")}</button>
<button class="btn btn-sm ignore-this-change-button">${t("watched_file_update_status.ignore_this_change")}</button>