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

Autohide the scrollbar on breadcrumbs
pull/21833/head
Travis Ralston 2019-04-04 17:18:02 -06:00 committed by GitHub
commit a109e06b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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";