Merge pull request #63 from v0l/minor-ui-fixes

Minor UI fixes
This commit is contained in:
Kieran 2023-01-15 09:59:46 +00:00 committed by GitHub
commit 5cc08aaace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 4 deletions

View File

@ -3,10 +3,10 @@
}
.reaction > .note {
margin: 5px;
margin: 10px 20px;
border: 1px solid var(--gray);
border-radius: 10px;
padding: 5px;
padding: 10px;
}
.reaction > .header > .pfp {
@ -21,3 +21,8 @@
color: #999;
font-size: small;
}
.reaction .reaction-text {
margin-left: .2em;
color: var(--gray-light);
}

View File

@ -40,8 +40,8 @@ export default function NoteReaction(props) {
function tagLine() {
switch (ev.Kind) {
case EventKind.Reaction: return <small>Reacted with {mapReaction(ev.Content)}</small>;
case EventKind.Repost: return <small> Reposted</small>
case EventKind.Reaction: return <small className="reaction-text">reacted with {mapReaction(ev.Content)}</small>;
case EventKind.Repost: return <small className="reaction-text">reposted</small>
}
}

View File

@ -64,6 +64,22 @@
background-image: var(--img-url), var(--nostrplebs-gradient);
}
.profile .avatar[data-domain="nostrpurple.com"] {
background-image: var(--img-url), var(--nostrplebs-gradient);
}
.profile .avatar[data-domain="nostr.fan"] {
background-image: var(--img-url), var(--nostrplebs-gradient);
}
.profile .avatar[data-domain="nostrich.zone"] {
background-image: var(--img-url), var(--nostrplebs-gradient);
}
.profile .avatar[data-domain="nostriches.net"] {
background-image: var(--img-url), var(--nostrplebs-gradient);
}
.profile .name {
display: flex;
flex-direction: column;