mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing VirtualList scrollbar style
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
aa86e5a41e
commit
09503e8d6d
@ -19,10 +19,7 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
.VirtualList {
|
||||
overflow: hidden;
|
||||
|
||||
> .list {
|
||||
overflow-y: overlay!important;
|
||||
}
|
||||
.list {
|
||||
/* Render scrollbar in content area, preventing to occupy extra space */
|
||||
overflow-y: overlay!important;
|
||||
}
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
// Wrapper for "react-window" component
|
||||
// API docs: https://react-window.now.sh
|
||||
import "./virtual-list.scss";
|
||||
import styles from "./virtual-list.module.css";
|
||||
|
||||
import React, { Component } from "react";
|
||||
import { observer } from "mobx-react";
|
||||
@ -107,7 +107,7 @@ export class VirtualList extends Component<Props, State> {
|
||||
<AutoSizer disableWidth>
|
||||
{({ height }) => (
|
||||
<VariableSizeList
|
||||
className="list"
|
||||
className={styles.list}
|
||||
width={width}
|
||||
height={height}
|
||||
itemSize={this.getItemSize}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user