1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Merge pull request #2876 from matrix-org/travis/breadcrumbs/autohide-scrollbar

Autohide the scrollbar on breadcrumbs
This commit is contained in:
Travis Ralston
2019-04-04 17:18:02 -06:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

@@ -19,10 +19,15 @@ limitations under the License.
height: 42px;
padding: 8px;
padding-bottom: 0;
overflow-x: visible;
display: flex;
flex-direction: row;
// Autohide the scrollbar
overflow-x: hidden;
&:hover {
overflow-x: visible;
}
.mx_AutoHideScrollbar_offset {
display: flex;
flex-direction: row;

View File

@@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
'use strict';
import React from "react";
import dis from "../../../dispatcher";
import MatrixClientPeg from "../../../MatrixClientPeg";