From eec863f146b00b7e37ac710aba549663c7adf345 Mon Sep 17 00:00:00 2001
From: mgabdev <>
Date: Wed, 30 Dec 2020 12:21:43 -0500
Subject: [PATCH] Updated ProgressPanel to be more compact
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
• Updated:
- ProgressPanel to be more compact and have the "donate" button not blend into the progress meter
- Updated wording on both ProgressPanel, ProgressInjection
---
.../components/panel/progress_panel.js | 51 ++++++++++---------
.../timeline_injections/progress_injection.js | 2 +-
2 files changed, 29 insertions(+), 24 deletions(-)
diff --git a/app/javascript/gabsocial/components/panel/progress_panel.js b/app/javascript/gabsocial/components/panel/progress_panel.js
index e8410d8f..96a59f8b 100644
--- a/app/javascript/gabsocial/components/panel/progress_panel.js
+++ b/app/javascript/gabsocial/components/panel/progress_panel.js
@@ -10,6 +10,7 @@ import PanelLayout from './panel_layout';
import ProgressBar from '../progress_bar'
import Button from '../button'
import Text from '../text'
+import Icon from '../icon'
class ProgressPanel extends React.PureComponent {
@@ -19,33 +20,37 @@ class ProgressPanel extends React.PureComponent {
if (!monthlyExpensesComplete) return null
const value = Math.min(parseFloat(monthlyExpensesComplete), 100)
+ const subtitle = (
+