Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 38e712e

Browse files
committed
footer-style
1 parent c66a525 commit 38e712e

File tree

4 files changed

+14
-122
lines changed

4 files changed

+14
-122
lines changed

src/__tests__/serviceBase.test.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/services/BaseService.ts

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/services/DataviewService.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class DataviewProxy {
1717
throw new Error('Dataview plugin is not installed');
1818
}
1919
if (!this.indexIsLoaded) {
20-
new Notice(`Dataview plugin is not loaded yet. Please wait a few seconds and try again.`);
21-
throw new Error("Dataview index is not loaded");
20+
new Notice(`Dataview plugin is not loaded yet. Please wait a few seconds and refresh the page.`);
2221
}
2322

2423
return getAPI(app);

styles.css

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ div.database-plugin__td.data-input:hover {
9494
box-shadow: 0 0 1px 2px var(--text-accent-hover);
9595
}
9696

97+
/******************************************************
98+
* Table Structure
99+
******************************************************/
100+
/*** FOOTER ***/
101+
.database-plugin__tfoot {
102+
display: table-footer-group;
103+
}
104+
105+
.database-plugin__footer {
106+
border: 2px solid var(--background-modifier-accent);
107+
border-radius: 5px;
108+
}
97109
/******************************************************
98110
* Inputs of cells
99111
******************************************************/
@@ -344,6 +356,7 @@ div.database-plugin__checkbox {
344356
cursor: pointer;
345357
background-color: var(--background-primary);
346358
display: table-cell;
359+
z-index: 1;
347360
}
348361

349362
.database-plugin__th:hover {
@@ -449,10 +462,6 @@ div.database-plugin__checkbox {
449462
display: table-row-group;
450463
}
451464

452-
.database-plugin__tfoot {
453-
display: table-footer-group;
454-
}
455-
456465
.database-plugin__header-group,
457466
.database-plugin__header {
458467
justify-content: flex-start;

0 commit comments

Comments
 (0)