mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-25 06:45:20 +08:00
Update rb-datalist.jsx
This commit is contained in:
parent
1dd17caab7
commit
14ce65984f
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ class RbList extends React.Component {
|
|||
window.resize_handler = function () {
|
||||
typeof hold === 'function' && hold()
|
||||
let maxHeight = $(window).height() - 214
|
||||
if ($('.main-content>.nav-tabs-classic').length > 0) maxHeight -= 42 // Has tab
|
||||
scroller.css({ maxHeight: maxHeight })
|
||||
scroller.perfectScrollbar('update')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue