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
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; height: 42px;
padding: 8px; padding: 8px;
padding-bottom: 0; padding-bottom: 0;
overflow-x: visible;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
// Autohide the scrollbar
overflow-x: hidden;
&:hover {
overflow-x: visible;
}
.mx_AutoHideScrollbar_offset { .mx_AutoHideScrollbar_offset {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

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