Fix small alignment issues

- remove space between `path` and `filename` in Blob.svelte
- remove top margin from the first element in markdown docs
- fix Seed ID alignment on seed page

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-09-15 15:05:02 +02:00
parent d690b0bda6
commit 48b5c5bf07
3 changed files with 15 additions and 2 deletions
+6 -1
View File
@@ -70,7 +70,7 @@
color: var(--color-foreground);
border: 1px dashed var(--color-foreground-4);
padding: 0.5rem;
margin-bottom: 1.5rem;
margin-bottom: 2rem;
}
.front-matter table {
border-collapse: collapse;
@@ -241,6 +241,11 @@
text-align: center;
padding: 0.5rem 1rem;
}
.markdown > :global(*:first-child) {
padding-top: 0 !important;
margin-top: 0 !important;
}
</style>
{#if content}
+1
View File
@@ -138,6 +138,7 @@
<div class="file-header">
<span class="file-name">
<span class="faded">{parentDir}</span>
&#8203;
<span>{blob.info.name}</span>
</span>
<div class="last-commit" title={lastCommit.author.name}>
+8 -1
View File
@@ -78,6 +78,10 @@
.inline {
display: inline !important;
}
.seed-label {
display: flex;
align-items: center;
}
@media (max-width: 720px) {
main {
@@ -145,7 +149,10 @@
<SeedAddress {seed} port={seed.link.port} />
<!-- Seed ID -->
<div class="label">Seed ID</div>
<div>{formatSeedId(seed.id)} <Clipboard small text={seed.id} /></div>
<div class="seed-label">
{formatSeedId(seed.id)}
<Clipboard small text={seed.id} />
</div>
<div class="desktop" />
<!-- API Port -->
<div class="label">API Port</div>