aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-04 16:39:26 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:54 +0300
commit3b160c73fc2f2b11ceb91e74881ec3bc94a4b3f6 (patch)
tree977048cce2212f466fedfb0e9833a3d4eecf1903 /vnext/src/components
parentea22742a880045c0ad500c65d6988611dbf2bc0b (diff)
TagList styling
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/Message.css10
-rw-r--r--vnext/src/components/Message.js2
2 files changed, 4 insertions, 8 deletions
diff --git a/vnext/src/components/Message.css b/vnext/src/components/Message.css
index c19c7eec..337a3dc0 100644
--- a/vnext/src/components/Message.css
+++ b/vnext/src/components/Message.css
@@ -8,24 +8,20 @@
justify-content: space-around;
}
.msg-cont > nav.l a {
- color: #888;
+ color: #88958d;
margin-right: 15px;
font-size: small;
}
.msg-tags {
+ color: #88958d;
margin-top: 12px;
min-height: 1px;
}
.badge,
.msg-tags > a {
- background: #eee;
- border: 1px solid #eee;
- color: #888;
+ color: #88958d;
display: inline-block;
font-size: small;
- margin-bottom: 5px;
- margin-right: 5px;
- padding: 0 10px;
}
.l .msg-button {
align-items: center;
diff --git a/vnext/src/components/Message.js b/vnext/src/components/Message.js
index 6afb8d96..1d9afe9a 100644
--- a/vnext/src/components/Message.js
+++ b/vnext/src/components/Message.js
@@ -92,7 +92,7 @@ function Tags({ data, user, ...rest }) {
{
data.map(tag => {
return (<Link key={tag} to={{ pathname: `/${user.uname}`, search: `?tag=${tag}` }} title={tag}>{tag}</Link>);
- })
+ }).reduce((prev, curr) => [prev, ', ', curr])
}
</div>
);