mirror of
https://github.com/zadam/trilium.git
synced 2025-12-12 18:34:24 +01:00
feat(note_info): improve layout slightly
This commit is contained in:
parent
4b74ad5577
commit
84cda001aa
@ -70,10 +70,27 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-note-info-badge {
|
.dropdown-note-info-badge {
|
||||||
ul {
|
.dropdown-menu.show ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
display: table;
|
||||||
|
|
||||||
|
li {
|
||||||
|
display: table-row;
|
||||||
|
|
||||||
|
> strong {
|
||||||
|
display: table-cell;
|
||||||
|
padding: 0.2em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
> span {
|
||||||
|
display: table-cell;
|
||||||
|
user-select: text;
|
||||||
|
padding-left: 2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -48,7 +48,7 @@ function NoteInfoBadge() {
|
|||||||
function NoteInfoValue({ text, value }: { text: string; value: ComponentChildren }) {
|
function NoteInfoValue({ text, value }: { text: string; value: ComponentChildren }) {
|
||||||
return (
|
return (
|
||||||
<li>
|
<li>
|
||||||
<strong>{text}</strong>{": "}
|
<strong>{text}{": "}</strong>
|
||||||
<span>{value}</span>
|
<span>{value}</span>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user