Add provider name to rich embeds and set provider and author text color to match discords

This commit is contained in:
Jeremy Zhang 2018-06-20 06:37:53 +00:00
parent 764f8bb796
commit ed6ae41c42
2 changed files with 16 additions and 0 deletions

View File

@ -705,6 +705,14 @@ p.mentioned span.chatmessage {
border-radius: 5px;
}
.richembed .provider .name {
color: #87909c;
}
.richembed .author .name {
color: white;
}
.richembed .author img, .richembed .footer img {
width: 20px;
border-radius: 100px;

View File

@ -382,6 +382,14 @@
<div class="rich">
<div class="content">
<div class="innercontent">
{{#provider}}
<div class="provider">
<a href="
{{#provider.url}}{{provider.url}}{{/provider.url}}
{{^provider.url}}#{{/provider.url}}
" target="_blank" class="name">{{provider.name}}</a>
</div>
{{/provider}}
{{#author}}
<div class="author">
{{#author.proxy_icon_url}}