Skip to content

Build your personal knowledge base with Trilium Notes

feat(toast): improve button layout

Elian Doran048258d2d1d3
diff --git a/apps/client/src/widgets/Toast.css b/apps/client/src/widgets/Toast.css
index 457aadce24..519e3b62d1 100644
--- a/apps/client/src/widgets/Toast.css
+++ b/apps/client/src/widgets/Toast.css
@@ -48,12 +48,22 @@
background-color: unset !important;
}
-.toast .toast-progress {
- position: absolute;
- bottom: 0;
- inset-inline-start: 0;
- inset-inline-end: 0;
- background-color: var(--toast-text-color) !important;
- height: 4px;
- transition: width 0.1s linear;
+.toast {
+ .toast-buttons {
+ padding: 0 1em 1em 1em;
+ display: flex;
+ gap: 1em;
+ justify-content: space-between;
+ }
+
+ .toast-progress {
+ position: absolute;
+ bottom: 0;
+ inset-inline-start: 0;
+ inset-inline-end: 0;
+ background-color: var(--toast-text-color) !important;
+ height: 4px;
+ transition: width 0.1s linear;
+ }
}
+