forked from Kieran/snort
fix: reaction tweaks
This commit is contained in:
parent
6ac44786af
commit
615fc9fcfa
@ -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);
|
||||
}
|
||||
|
@ -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>
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user