From 5ee7445375a7be8e37668ff312a99574ba8f2d12 Mon Sep 17 00:00:00 2001 From: Ru Singh Date: Mon, 23 Aug 2021 14:57:54 +0530 Subject: [PATCH] All sources component's details button to stick to the bottom when too few items and on mobile (#1255) * chore(docker): improve repeat contributions workflow * This change adds two new commands to gracefully stop and remove the Postgres and Clickhouse docker containers. To do so, it also gives them a recognizable name. * Additionally, the Postgres container is updated to use a named volume for its data. This lower friction for repeat contributions where one would otherwise sign up and activate their accounts again and again each time. * Format countries modal * Remove unused imports * Run ESLint and make related fixes * ESlint formatting for entry pages modal * WIP: proof of concept for scrollable modals on mobile * Revert "Merge branch 'feature/details-modal-mobile' of github.com:hirusi/analytics" This reverts commit 87e9fb92d079944a2439daae09518c7de847ba1e, reversing changes made to beea6a07c7473322931ebc8d7289a9edef34a783. * Fix issue with details button not sticking to the bottom On "All Sources", the details button wouldn't stick to the bottom when there are too few sources for the date period selected. This was due to a missing class. --- assets/js/dashboard/stats/sources/source-list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/dashboard/stats/sources/source-list.js b/assets/js/dashboard/stats/sources/source-list.js index 37ba0c8fb..db0d99c92 100644 --- a/assets/js/dashboard/stats/sources/source-list.js +++ b/assets/js/dashboard/stats/sources/source-list.js @@ -84,7 +84,7 @@ class AllSources extends React.Component { {this.label()} - + {this.state.referrers.map(this.renderReferrer.bind(this))} @@ -97,13 +97,13 @@ class AllSources extends React.Component { renderContent() { return ( - +

Top Sources

{ this.props.renderTabs() }
{ this.state.loading &&
} - + { this.renderList() }