summaryrefslogtreecommitdiffstats
path: root/webapp/sass/responsive/_tablet.scss
diff options
context:
space:
mode:
authorDebanshu Kundu <debanshu.kundu@joshtechnologygroup.com>2017-03-02 23:17:27 +0530
committerenahum <nahumhbl@gmail.com>2017-03-02 14:47:27 -0300
commit47114a18e3d6dc2090beeb43d03f865d6436a99a (patch)
treeb7126d5cb3bd025eb62228af0cb0f7994964c6fa /webapp/sass/responsive/_tablet.scss
parentd9a297d6291838e08a4acdbd603c35601c0e9878 (diff)
downloadchat-47114a18e3d6dc2090beeb43d03f865d6436a99a.tar.gz
chat-47114a18e3d6dc2090beeb43d03f865d6436a99a.tar.bz2
chat-47114a18e3d6dc2090beeb43d03f865d6436a99a.zip
PLT-5380 Moved link preview image to top right corner of preview area (#5212)
* PLT-5380 Moved link preview image to top right corner of preview area for smaller images, larger and wide images are still shown below the text. Also added logic to hide image area if image loading fails. * Updating link previews css
Diffstat (limited to 'webapp/sass/responsive/_tablet.scss')
-rw-r--r--webapp/sass/responsive/_tablet.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/sass/responsive/_tablet.scss b/webapp/sass/responsive/_tablet.scss
index 96a71694f..06a725a31 100644
--- a/webapp/sass/responsive/_tablet.scss
+++ b/webapp/sass/responsive/_tablet.scss
@@ -128,6 +128,19 @@
}
}
}
+ .post {
+ .attachment {
+ .attachment__image {
+ &.attachment__image--openraph {
+ max-height: 70px;
+ max-width: 300px;
+ &.loading {
+ height: 70px;
+ }
+ }
+ }
+ }
+ }
}
// Tablet and desktop