Skip to content

Build your personal knowledge base with Trilium Notes

style(next): fix the background of disabled input action buttons

Adorian Doran707d406ee9b4
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css
index e2e09f4fa2..7ac9d0e1aa 100644
--- a/src/public/stylesheets/theme-next/forms.css
+++ b/src/public/stylesheets/theme-next/forms.css
@@ -97,6 +97,7 @@ input::selection,
background: transparent;
padding: 0 4px;
+ /* Workaround to set the "color" property. */
--muted-text-color: var(--input-action-button-color);
}
@@ -107,6 +108,8 @@ input::selection,
.input-group a.disabled {
opacity: .5;
+ /* Workaround to set the "background" property. */
+ --button-disabled-background-color: transparent;
}
.input-group .input-clearer-button {