mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
chore(promoted_attributes): address review
This commit is contained in:
parent
320f064775
commit
7f909fa098
@ -15,12 +15,13 @@ body.mobile .promoted-attributes-widget {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoted-attribute-cell {
|
.promoted-attribute-cell {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
display: table-row;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.promoted-attribute-cell > label {
|
.promoted-attribute-cell > label {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|||||||
@ -180,7 +180,7 @@ function LabelInput({ inputId, ...props }: CellProps & { inputId: string }) {
|
|||||||
setupTextLabelAutocomplete(el as HTMLInputElement, valueAttr, onChangeListener);
|
setupTextLabelAutocomplete(el as HTMLInputElement, valueAttr, onChangeListener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, []);
|
}, [ inputId, valueAttr, onChangeListener ]);
|
||||||
|
|
||||||
switch (definition.labelType) {
|
switch (definition.labelType) {
|
||||||
case "number": {
|
case "number": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user