From 70726e0f724ad5025ba8136a673f90c35363138e Mon Sep 17 00:00:00 2001 From: MIYAGI Hikaru Date: Sun, 5 Nov 2017 21:05:50 +0900 Subject: [PATCH] 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 --- app/javascript/styles/mastodon/components.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 3f3fe51d3e..061138e2c5 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 {