home css fixes, show NOTE if set
parent
7d0b23e955
commit
fa81c279f7
|
@ -45,8 +45,11 @@
|
|||
{#each data as root}
|
||||
<li>
|
||||
<sl-card class="root">
|
||||
<Link to="/browse/{root.address}">
|
||||
<Link class="root-link" to="/browse/{root.address}">
|
||||
<h1>{root.identify()}</h1>
|
||||
{#if root.get("NOTE")}
|
||||
<p>{root.get("NOTE")}</p>
|
||||
{/if}
|
||||
</Link>
|
||||
<div slot="footer">
|
||||
{root.attr["HAS"]?.length || 0} children
|
||||
|
@ -95,6 +98,7 @@
|
|||
.file-added {
|
||||
opacity: 0.77;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -103,8 +107,9 @@
|
|||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 2rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, 1fr);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
|
@ -112,5 +117,9 @@
|
|||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
:global(.root-link) {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue