1
0
Fork 0
mirror of synced 2024-07-11 17:26:01 +12:00

Add more opinionated styling to relationship display in grid

This commit is contained in:
Andrew Kingston 2020-10-15 11:54:34 +01:00
parent 0b5f516485
commit 48a26348a2
2 changed files with 7 additions and 3 deletions

View file

@ -47,12 +47,17 @@
gap: var(--spacing-xs);
width: 100%;
}
/* This styling is opinionated to ensure these always look consistent */
.linked-row {
color: white;
background-color: var(--ink);
border-radius: var(--border-radius-l);
background-color: #616161;
border-radius: var(--border-radius-xs);
padding: var(--spacing-xs) var(--spacing-s) calc(var(--spacing-xs) + 1px)
var(--spacing-s);
line-height: 1;
font-size: 0.8em;
font-family: var(--font-sans);
font-weight: 500;
}
</style>

View file

@ -13,7 +13,6 @@ export default async function getTable(tableId) {
return null
}
if (!cache[tableId]) {
console.log("cache miss for " + tableId)
cache[tableId] = fetchTable(tableId)
cache[tableId] = await cache[tableId]
}