mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
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:
+6
-1
@@ -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}
|
||||
|
||||
@@ -138,6 +138,7 @@
|
||||
<div class="file-header">
|
||||
<span class="file-name">
|
||||
<span class="faded">{parentDir}</span>
|
||||
​
|
||||
<span>{blob.info.name}</span>
|
||||
</span>
|
||||
<div class="last-commit" title={lastCommit.author.name}>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user