feat(note_info): improve layout slightly

This commit is contained in:
Elian Doran 2025-12-11 16:33:18 +02:00
parent 4b74ad5577
commit 84cda001aa
No known key found for this signature in database
2 changed files with 19 additions and 2 deletions

View File

@ -70,10 +70,27 @@
}
.dropdown-note-info-badge {
ul {
.dropdown-menu.show ul {
list-style-type: none;
padding: 0.5em;
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;
}
}
}
}
}

View File

@ -48,7 +48,7 @@ function NoteInfoBadge() {
function NoteInfoValue({ text, value }: { text: string; value: ComponentChildren }) {
return (
<li>
<strong>{text}</strong>{": "}
<strong>{text}{": "}</strong>
<span>{value}</span>
</li>
);