Improve styles of 'execute' anchor

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2022-02-09 14:20:56 +01:00
parent f3a1828402
commit 7a193a825d
2 changed files with 31 additions and 16 deletions
+22 -13
View File
@@ -41,6 +41,13 @@
display: flex;
align-items: center;
}
article .anchor-info {
display: flex;
align-items: center;
}
article .actions {
margin-right: 1rem;
}
article .commit, article .actions {
font-family: var(--font-family-monospace);
}
@@ -90,19 +97,21 @@
{/if}
</slot>
</span>
<span class="actions">
<slot name="actions">
</slot>
</span>
<span class="anchor-badge">
<slot name="anchor">
{#if anchor}
<AnchorBadge
commit={project.head}
head={project.head} noText noBg
anchors={[anchor.anchor.stateHash]} />
{/if}
</slot>
<span class="anchor-info">
<span class="actions">
<slot name="actions">
</slot>
</span>
<span class="anchor-badge">
<slot name="anchor">
{#if anchor}
<AnchorBadge
commit={project.head}
head={project.head} noText noBg
anchors={[anchor.anchor.stateHash]} />
{/if}
</slot>
</span>
</span>
</div>
</article>