From 86c6c541a86e630b97fcaa45fbc2451f0bf29721 Mon Sep 17 00:00:00 2001 From: Michael Kurz Date: Wed, 13 Apr 2022 21:10:38 +0200 Subject: [PATCH] #38: add styling to config components --- .../visualizations/team-awareness/config.js | 33 +++++++++++-------- .../visualizations/team-awareness/config.scss | 3 -- .../visualizations/team-awareness/styles.scss | 13 ++++++++ 3 files changed, 33 insertions(+), 16 deletions(-) delete mode 100644 ui/src/visualizations/team-awareness/config.scss create mode 100644 ui/src/visualizations/team-awareness/styles.scss diff --git a/ui/src/visualizations/team-awareness/config.js b/ui/src/visualizations/team-awareness/config.js index 3e6d83ce..5705b4e0 100644 --- a/ui/src/visualizations/team-awareness/config.js +++ b/ui/src/visualizations/team-awareness/config.js @@ -7,7 +7,7 @@ import * as d3 from 'd3'; import { getState } from './util/util'; import _ from 'lodash'; import ActivityTimeline from './components/Timeline/ActivityTimeline'; -import styles from './config.scss'; +import styles from './styles.scss'; const mapStateToProps = (appState /*, ownProps*/) => { const { config, data } = getState(appState); @@ -34,23 +34,30 @@ class ConfigComponent extends React.Component { } render() { - const { onActivityDimensionsRestricted, onSelectActivityScale } = this.props; + const { onActivityDimensionsRestricted, onSelectActivityScale, config } = this.props; const { activityTimeline, yDims } = this.props.data; return (
-
-
Activity:
-
- +
+
+ +
+
+ +
+
-
+
-
Timeline
+