summaryrefslogtreecommitdiffstats
path: root/webapp/sass
diff options
context:
space:
mode:
authorDebanshu Kundu <debanshu.kundu@joshtechnologygroup.com>2017-01-20 23:11:13 +0530
committerenahum <nahumhbl@gmail.com>2017-01-20 14:41:13 -0300
commit3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4 (patch)
treeb954407a03a6c0ed9836d8b14d910fc52c8dc1dc /webapp/sass
parentfefe4b70d9e69910a8e3acd6890497553b5eff2f (diff)
downloadchat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.tar.gz
chat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.tar.bz2
chat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.zip
#4257 Added functionality to create previews for post links using open graph data from those links. (#4890)
Diffstat (limited to 'webapp/sass')
-rw-r--r--webapp/sass/layout/_webhooks.scss20
1 files changed, 19 insertions, 1 deletions
diff --git a/webapp/sass/layout/_webhooks.scss b/webapp/sass/layout/_webhooks.scss
index 99a82f00e..904c50ccc 100644
--- a/webapp/sass/layout/_webhooks.scss
+++ b/webapp/sass/layout/_webhooks.scss
@@ -68,6 +68,9 @@
&.attachment__container--danger {
border-left-color: #e40303;
}
+ .sitename {
+ color: #A3A3A3;
+ }
}
.attachment__body {
@@ -80,6 +83,14 @@
&.attachment__body--no_thumb {
width: 100%;
}
+ .attachment__image {
+ margin-bottom: 0;
+ max-height: 150px;
+ max-width: 150px;
+ &.loading {
+ height: 150px;
+ }
+ }
}
.attachment__text p:last-of-type {
@@ -103,6 +114,13 @@
line-height: 18px;
margin: 5px 0;
padding: 0;
+
+ &.has-link {
+ color: #2f81b7;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ }
}
.attachment-link-more {
@@ -144,4 +162,4 @@
}
}
}
-} \ No newline at end of file
+}