mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
more compact note info widget
This commit is contained in:
parent
874972a3d3
commit
b148f3d032
@ -4,7 +4,10 @@ const TPL = `
|
|||||||
<table class="note-info-widget-table">
|
<table class="note-info-widget-table">
|
||||||
<style>
|
<style>
|
||||||
.note-info-widget-table {
|
.note-info-widget-table {
|
||||||
width: 100%;
|
max-width: 100%;
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-info-widget-table td, .note-info-widget-table th {
|
.note-info-widget-table td, .note-info-widget-table th {
|
||||||
@ -22,16 +25,6 @@ const TPL = `
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Note ID:</th>
|
<th>Note ID:</th>
|
||||||
<td class="note-info-note-id"></td>
|
<td class="note-info-note-id"></td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th>Created:</th>
|
|
||||||
<td class="note-info-date-created"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th>Modified:</th>
|
|
||||||
<td class="note-info-date-modified"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th>Type:</th>
|
<th>Type:</th>
|
||||||
<td>
|
<td>
|
||||||
<span class="note-info-type"></span>
|
<span class="note-info-type"></span>
|
||||||
@ -39,6 +32,12 @@ const TPL = `
|
|||||||
<span class="note-info-mime"></span>
|
<span class="note-info-mime"></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Created:</th>
|
||||||
|
<td class="note-info-date-created"></td>
|
||||||
|
<th>Modified:</th>
|
||||||
|
<td class="note-info-date-modified"></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user