UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

46 lines 1.3 kB
import { HighContrastSelector } from '../../Styling'; export var getStyles = function (props) { var className = props.className; var AboveAndBelowStyles = { position: 'absolute', pointerEvents: 'auto', width: '100%', zIndex: 1 }; return ({ root: [ 'ms-ScrollablePane', { overflowY: 'auto', maxHeight: 'inherit', height: 'inherit', WebkitOverflowScrolling: 'touch' }, className ], stickyAbove: [ { top: 0, selectors: (_a = {}, _a[HighContrastSelector] = { borderBottom: '1px solid WindowText' }, _a) }, AboveAndBelowStyles ], stickyBelow: [ { bottom: 0, selectors: (_b = {}, _b[HighContrastSelector] = { borderTop: '1px solid WindowText' }, _b) }, AboveAndBelowStyles ] }); var _a, _b; }; //# sourceMappingURL=ScrollablePane.styles.js.map