]> cat aescling's git repositories - mastodon.git/commitdiff
don't display any descendants of .invisible (#5567)
authorMIYAGI Hikaru <hcmiya@users.noreply.github.com>
Sun, 5 Nov 2017 12:05:50 +0000 (21:05 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 5 Nov 2017 12:05:50 +0000 (13:05 +0100)
* don't display any descendants of .invisible

* reduce the scope of selector

* remove some rules for image

* lint

app/javascript/styles/mastodon/components.scss

index 3f3fe51d3efc41cf13af013612040d3f5d32cd2a..061138e2c53d819490e8f674daa03a2210de769a 100644 (file)
   width: 0;
   height: 0;
   position: absolute;
+
+  img,
+  svg {
+    margin: 0 !important;
+    border: 0 !important;
+    padding: 0 !important;
+    width: 0 !important;
+    height: 0 !important;
+  }
 }
 
 .ellipsis {