From 7eca999f4e9af801e57625a402b92704e36444b4 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 24 May 2020 12:07:49 -0700 Subject: [PATCH] disable transparent row in Twitter --- components/Carbon.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/Carbon.js b/components/Carbon.js index c11bfad..df82221 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -359,7 +359,11 @@ class Carbon extends React.PureComponent { /* forces twitter to save images as png — https://github.com/carbon-app/carbon/issues/86 */ .twitter-png-fix { - height: 1px; + /* TODO, remove? + * Twitter is currently converting everything to JPEGs anyways. Removing this + * would simplify the width/height calculations, as well as the includeTransparentRow option + */ + height: 0px; width: 100%; background: rgba(0, 0, 0, 0.01); }