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 a1543e0b4f
commit 754ccf0e79
2 changed files with 7 additions and 3 deletions

View File

@ -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>

View File

@ -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]
} }