Skip to content

Build your personal knowledge base with Trilium Notes

small promoted attrs style tweaks

zadam7787fa17589a
diff --git a/src/public/app/widgets/promoted_attributes.js b/src/public/app/widgets/promoted_attributes.js
index c5128459de..6c3cc72a8b 100644
--- a/src/public/app/widgets/promoted_attributes.js
+++ b/src/public/app/widgets/promoted_attributes.js
@@ -167,6 +167,9 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
}
$input.prop("step", step);
+ $input
+ .css("text-align", "right")
+ .css("width", "120");
}
else if (definition.labelType === 'boolean') {
$input.prop("type", "checkbox");
@@ -182,7 +185,7 @@ export default class PromotedAttributesWidget extends TabAwareWidget {
$input.prop("placeholder", "http://website...");
const $openButton = $("<span>")
- .addClass("input-group-text open-external-link-button bx bx-trending-up")
+ .addClass("input-group-text open-external-link-button bx bx-window-open")
.prop("title", "Open external link")
.on('click', () => window.open($input.val(), '_blank'));
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 3e6c4e4551..9e0577b0fe 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -354,6 +354,7 @@ pre:not(.CodeMirror-line) {
font-size: 1.3em;
padding-left: 5px;
padding-right: 5px;
+ padding-top: 8px;
}
.go-to-selected-note-button {