Add more opinionated styling to relationship display in grid
This commit is contained in:
parent
0b5f516485
commit
48a26348a2
2 changed files with 7 additions and 3 deletions
|
@ -47,12 +47,17 @@
|
||||||
gap: var(--spacing-xs);
|
gap: var(--spacing-xs);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This styling is opinionated to ensure these always look consistent */
|
||||||
.linked-row {
|
.linked-row {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: var(--ink);
|
background-color: #616161;
|
||||||
border-radius: var(--border-radius-l);
|
border-radius: var(--border-radius-xs);
|
||||||
padding: var(--spacing-xs) var(--spacing-s) calc(var(--spacing-xs) + 1px)
|
padding: var(--spacing-xs) var(--spacing-s) calc(var(--spacing-xs) + 1px)
|
||||||
var(--spacing-s);
|
var(--spacing-s);
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
font-size: 0.8em;
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -13,7 +13,6 @@ export default async function getTable(tableId) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
if (!cache[tableId]) {
|
if (!cache[tableId]) {
|
||||||
console.log("cache miss for " + tableId)
|
|
||||||
cache[tableId] = fetchTable(tableId)
|
cache[tableId] = fetchTable(tableId)
|
||||||
cache[tableId] = await cache[tableId]
|
cache[tableId] = await cache[tableId]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue