diff --git a/res/css/structures/_MyGroups.scss b/res/css/structures/_MyGroups.scss index 47a5ea5a77..36150c33a5 100644 --- a/res/css/structures/_MyGroups.scss +++ b/res/css/structures/_MyGroups.scss @@ -102,11 +102,6 @@ limitations under the License. overflow-y: inherit; } -.mx_MyGroups_content, -.mx_MyGroups_scrollable { - overflow-y: scroll; -} - .mx_MyGroups_placeholder { background-color: $info-plinth-bg-color; color: $info-plinth-fg-color; diff --git a/src/components/structures/MyGroups.js b/src/components/structures/MyGroups.js index f75fc86fc8..f1209b7b9e 100644 --- a/src/components/structures/MyGroups.js +++ b/src/components/structures/MyGroups.js @@ -22,6 +22,7 @@ import { _t } from '../../languageHandler'; import dis from '../../dispatcher'; import AccessibleButton from '../views/elements/AccessibleButton'; import MatrixClientContext from "../../contexts/MatrixClientContext"; +import AutoHideScrollbar from "./AutoHideScrollbar"; export default createReactClass({ displayName: 'MyGroups', @@ -72,7 +73,7 @@ export default createReactClass({ }); contentHeader = groupNodes.length > 0 ?
{ _t( @@ -91,7 +92,7 @@ export default createReactClass({