Web:Components:Scrollbar: Added paddingRight 8px for mobile view for Scrollbar.
This commit is contained in:
parent
664135b164
commit
085651a2b1
@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
import { isMobile } from "@appserver/components/utils/device";
|
||||
import StyledScrollbar from "./styled-scrollbar";
|
||||
const Scrollbar = React.forwardRef((props, ref) => {
|
||||
const scrollbarType = {
|
||||
@ -40,7 +40,7 @@ const Scrollbar = React.forwardRef((props, ref) => {
|
||||
borderRadius: "inherit",
|
||||
},
|
||||
view: {
|
||||
paddingRight: "16px",
|
||||
paddingRight: isMobile() ? "8px" : "16px",
|
||||
outline: "none",
|
||||
WebkitOverflowScrolling: "auto",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user