Skip to content

Commit fa66112

Browse files
committedMay 21, 2020
fix: CScrollbar: fix rtl mode
1 parent be2f00b commit fa66112

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎src/template/CScrollbar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types'
33
import classNames from 'classnames'
44
import PerfectScrollbar from 'perfect-scrollbar'
55
import 'perfect-scrollbar/css/perfect-scrollbar.css'
6+
import './scrollbar.css'
67

78
//component - CoreUI / CScrollbar
89
const CScrollbar = props => {

‎css/scrollbar.css renamed to ‎src/template/scrollbar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* rtl fix */
22
.ps__rtl .ps__rail-y {
33
left: 0px !important;
4-
right: unset;
4+
right: unset !important;
55
}
66
*[dir="rtl"] .ps__rail-y {
77
left: 0px !important;
8-
right: unset;
8+
right: unset !important;
99
}
1010

1111
.ps__rtl .ps__thumb-y {

0 commit comments

Comments
 (0)
Please sign in to comment.