mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
style/table view: tweak table footer
This commit is contained in:
parent
c363be57b7
commit
2cf9c98b43
@ -80,6 +80,7 @@
|
|||||||
|
|
||||||
.tabulator-tableholder {
|
.tabulator-tableholder {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
height: unset !important; /* Don't extend on the full height */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rows */
|
/* Rows */
|
||||||
@ -188,4 +189,11 @@
|
|||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
color: var(--menu-text-color);
|
color: var(--menu-text-color);
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Footer */
|
||||||
|
|
||||||
|
:root .tabulator .tabulator-footer {
|
||||||
|
border-top: unset;
|
||||||
|
padding: 10px 0;
|
||||||
}
|
}
|
@ -11,11 +11,11 @@ export default function buildFooter(parentNote: FNote) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return /*html*/`\
|
return /*html*/`\
|
||||||
<button class="btn btn-sm" style="padding: 0px 10px 0px 10px;" data-trigger-command="addNewRow">
|
<button class="btn btn-sm" data-trigger-command="addNewRow">
|
||||||
<span class="bx bx-plus"></span> ${t("table_view.new-row")}
|
<span class="bx bx-plus"></span> ${t("table_view.new-row")}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="btn btn-sm" style="padding: 0px 10px 0px 10px;" data-trigger-command="addNewTableColumn">
|
<button class="btn btn-sm" data-trigger-command="addNewTableColumn">
|
||||||
<span class="bx bx-carousel"></span> ${t("table_view.new-column")}
|
<span class="bx bx-carousel"></span> ${t("table_view.new-column")}
|
||||||
</button>
|
</button>
|
||||||
`.trimStart();
|
`.trimStart();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user