mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
small promoted attrs style tweaks
This commit is contained in:
parent
0bd9b849b2
commit
7787fa1758
@ -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'));
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user