mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Improve general UX
- Hide issue title edit button when not logged in - Show Blob placeholder when empty file - Allow selecting blob code without the lines - Add Clipboard component to object id in CobHeader - Add blockies to Patch and Issueteasers - Reduce formatted object ids to 7 instead of 11 chars - Remove line breaking on soft wraps from Markdown - Reduce font size of code blocks in Markdown - Improve margins in IssueTeaser - Reduce font size in FileDiffs - Improve teasers, assignees and tags highlighting - Reduce font size of code - Change commit teaser subtitle - Show Clipboard in commit sha1 - Add blockies to PeerSelector - Adjust commit view CSS Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
@@ -37,7 +37,11 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
.meta {
|
||||
color: var(--color-foreground-5);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: var(--color-foreground-6);
|
||||
font-size: var(--font-size-tiny);
|
||||
font-family: var(--font-family-monospace);
|
||||
margin: 0 0.5rem;
|
||||
@@ -46,10 +50,6 @@
|
||||
margin: 0;
|
||||
}
|
||||
.summary {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
.patch-title {
|
||||
@@ -89,9 +89,6 @@
|
||||
height: 0.5rem;
|
||||
border-radius: var(--border-radius-small);
|
||||
}
|
||||
.highlight {
|
||||
color: var(--color-foreground-6);
|
||||
}
|
||||
.draft {
|
||||
background-color: var(--color-foreground-4);
|
||||
}
|
||||
@@ -138,13 +135,10 @@
|
||||
</div>
|
||||
<div class="summary">
|
||||
<span class="meta id">
|
||||
<span class="highlight">{formatObjectId(patch.id)}</span>
|
||||
opened
|
||||
<span class="highlight">
|
||||
{formatTimestamp(latestRevision.timestamp)}
|
||||
</span>
|
||||
by
|
||||
<Authorship highlight noAvatar authorId={patch.author.id} />
|
||||
{formatObjectId(patch.id)} opened {formatTimestamp(
|
||||
latestRevision.timestamp,
|
||||
)} by
|
||||
<Authorship authorId={patch.author.id} />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user