Merge pull request #2876 from matrix-org/travis/breadcrumbs/autohide-scrollbar
Autohide the scrollbar on breadcrumbs
This commit is contained in:
commit
a109e06b0b
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue