Autohide the scrollbar on breadcrumbs
Fixes https://github.com/vector-im/riot-web/issues/9349
This commit is contained in:
parent
37afa9fc0e
commit
b7e557e49a
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