about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorMIYAGI Hikaru <hcmiya@users.noreply.github.com>2017-11-05 21:05:50 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-11-05 13:05:50 +0100
commit8abe9e90587bfece4ca9eee81401f5143f15bc3c (patch)
tree3688a402042bb6e7fdcd7e57575f45b862c13b7c /app/javascript
parent15c0f6ae56e31ced750fa0ae06bf39d72355a477 (diff)
don't display any descendants of .invisible (#5567)
* don't display any descendants of .invisible

* reduce the scope of selector

* remove some rules for image

* lint
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/mastodon/components.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 3f3fe51d3..061138e2c 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -244,6 +244,15 @@
   width: 0;
   height: 0;
   position: absolute;
+
+  img,
+  svg {
+    margin: 0 !important;
+    border: 0 !important;
+    padding: 0 !important;
+    width: 0 !important;
+    height: 0 !important;
+  }
 }
 
 .ellipsis {