diff --git a/client/src/app-components/stats.js b/client/src/app-components/stats.js
index 4402a29e..92139e82 100644
--- a/client/src/app-components/stats.js
+++ b/client/src/app-components/stats.js
@@ -70,11 +70,13 @@ class Stats extends React.Component {
type: this.props.type === 'general' ? 'default' : 'small',
items: this.getStrokes().map((name) => {
return {
- content:
+ className: 'stats__toggle-list_' + name,
+ content: (
+
{obj.content}
);
}
- getItemClass(index) {
+ getItemClass(index, obj) {
let classes = {
'toggle-list__item': true,
'toggle-list__first-item': (index === 0),
@@ -50,6 +50,8 @@ class ToggleList extends React.Component {
'toggle-list__selected': _.includes(this.getSelectedList(), index)
};
+ classes[obj.className] = (obj.className);
+
return classNames(classes);
}
diff --git a/client/src/core-components/toggle-list.scss b/client/src/core-components/toggle-list.scss
index 1ba34f67..196de2b4 100644
--- a/client/src/core-components/toggle-list.scss
+++ b/client/src/core-components/toggle-list.scss
@@ -14,7 +14,7 @@
}
&__selected {
- box-shadow: inset 0 -5px 40px 10px rgba(0, 0, 0, 0.08);
+ box-shadow: inset 0 2px 12px -5px rgba(0, 0, 0, 0.7);
}
&__first-item {