mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-24 06:50:25 +02:00
adjusted noitems alignment
This commit is contained in:
1 parent
3cedf032ca
commit
88193b9396
5 files changed
+17
-12
No files matched your search
@@ -283,14 +283,13 @@ export function logsList(logsSettings) {
|
||||
|
||||
return t.div(
|
||||
{ className: "sticky-content txt-center txt-hint" },
|
||||
t.p({ className: "txt-bold" }, "No logs found."),
|
||||
t.div({ className: "txt-bold" }, "No logs found."),
|
||||
t.button(
|
||||
{
|
||||
hidden: () =>
|
||||
logsSettings.filter?.length
|
||||
|| app.utils.isEmpty(logsSettings.zoom),
|
||||
logsSettings.filter?.length || app.utils.isEmpty(logsSettings.zoom),
|
||||
type: "button",
|
||||
className: "btn secondary expanded-lg",
|
||||
className: "btn secondary expanded-lg m-t-10",
|
||||
onclick() {
|
||||
logsSettings.zoom = {};
|
||||
},
|
||||
@@ -301,7 +300,7 @@ export function logsList(logsSettings) {
|
||||
{
|
||||
hidden: () => !logsSettings.filter?.length,
|
||||
type: "button",
|
||||
className: "btn secondary expanded-lg",
|
||||
className: "btn secondary expanded-lg m-t-10",
|
||||
onclick() {
|
||||
logsSettings.filter = "";
|
||||
},
|
||||
|
||||
@@ -460,12 +460,12 @@ window.app.components.recordsList = function(propsArg = {}) {
|
||||
|
||||
return t.div(
|
||||
{ className: "sticky-content txt-center txt-hint" },
|
||||
t.p({ className: "txt-bold" }, "No records found."),
|
||||
t.div({ className: "txt-bold" }, "No records found."),
|
||||
t.button(
|
||||
{
|
||||
hidden: () => props.filter?.length || props.collection?.type == "view",
|
||||
type: "button",
|
||||
className: "btn secondary expanded-lg",
|
||||
className: "btn secondary expanded-lg m-t-10",
|
||||
onclick() {
|
||||
app.modals.openRecordUpsert(props.collection);
|
||||
},
|
||||
@@ -477,7 +477,7 @@ window.app.components.recordsList = function(propsArg = {}) {
|
||||
{
|
||||
hidden: () => !props.filter?.length,
|
||||
type: "button",
|
||||
className: "btn secondary expanded-lg",
|
||||
className: "btn secondary expanded-lg m-t-10",
|
||||
onclick() {
|
||||
props.filter = "";
|
||||
triggerOnchange();
|
||||
|
||||
Reference in new issue
Block a user