summaryrefslogtreecommitdiffstats
path: root/webapp/sass/responsive/_mobile.scss
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-08-03 14:29:31 +0800
committerGitHub <noreply@github.com>2017-08-03 14:29:31 +0800
commitf3934bc7e1e8ef555e1c2e1fe0ece3dbd88ea687 (patch)
tree8555be93795821a35dfe64ec6c8e749d235bbd4d /webapp/sass/responsive/_mobile.scss
parent345bb2236f1f34c2b1ddfec0024ea47c4b1b8950 (diff)
downloadchat-f3934bc7e1e8ef555e1c2e1fe0ece3dbd88ea687.tar.gz
chat-f3934bc7e1e8ef555e1c2e1fe0ece3dbd88ea687.tar.bz2
chat-f3934bc7e1e8ef555e1c2e1fe0ece3dbd88ea687.zip
[PLT-1249] Add close button 'x' to the right of a link preview (#7017)
* add close button 'x' to the right of a link preview * Updating webhook UI * UI improvements for close button * Adding hover state * Making the close button visible on mobile * previews are permanently disabled/closed for that link * make post as required props * fix JS error of undefined * fix update issue both at center and RHS view
Diffstat (limited to 'webapp/sass/responsive/_mobile.scss')
-rw-r--r--webapp/sass/responsive/_mobile.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/webapp/sass/responsive/_mobile.scss b/webapp/sass/responsive/_mobile.scss
index d39797efb..de453f93f 100644
--- a/webapp/sass/responsive/_mobile.scss
+++ b/webapp/sass/responsive/_mobile.scss
@@ -1349,6 +1349,16 @@
.post {
.attachment {
+ .attachment__body__wrap {
+ .btn-close {
+ height: 30px;
+ left: -15px;
+ top: 7px;
+ visibility: visible;
+ width: 30px;
+ }
+ }
+
.attachment__image {
&.attachment__image--openraph {
max-width: 200px;