Skip to content

Build your personal knowledge base with Trilium Notes

use the standard classes

Matt Wilkie5a6c3ae4263e
diff --git a/src/public/app/widgets/type_widgets/options/other/share_settings.ts b/src/public/app/widgets/type_widgets/options/other/share_settings.ts
index c4c9d94215..199605082c 100644
--- a/src/public/app/widgets/type_widgets/options/other/share_settings.ts
+++ b/src/public/app/widgets/type_widgets/options/other/share_settings.ts
@@ -4,25 +4,20 @@ import { t } from "../../../../services/i18n.js";
import type { OptionMap, OptionNames } from "../../../../../../services/options_interface.js";
const TPL = `
-<div class="card-body">
+<div class="options-section">
<h4>${t("share.title")}</h4>
- <div class="form-check">
- <label class="form-check-label">
- <input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
- ${t("share.redirect_bare_domain")}
- </label>
- <p class="form-text">${t("share.redirect_bare_domain_description")}</p>
- </div>
-
- <div class="form-check">
- <label class="form-check-label">
- <input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
- ${t("share.show_login_link")}
- </label>
- <p class="form-text">${t("share.show_login_link_description")}</p>
- <p>&nbsp;</p>
- </div>
+ <label class="tn-checkbox">
+ <input class="form-check-input" type="checkbox" name="redirectBareDomain" value="true">
+ ${t("share.redirect_bare_domain")}
+ </label>
+ <p class="form-text">${t("share.redirect_bare_domain_description")}</p>
+
+ <label class="tn-checkbox">
+ <input class="form-check-input" type="checkbox" name="showLoginInShareTheme" value="true">
+ ${t("share.show_login_link")}
+ </label>
+ <p class="form-text">${t("share.show_login_link_description")}</p>
</div>`;
export default class ShareSettingsOptions extends OptionsWidget {