Refactor: remove page size directly in css file
This commit is contained in:
parent
c8fad13a3c
commit
3369b54b83
2 changed files with 4 additions and 1 deletions
|
|
@ -35,7 +35,6 @@ const TableComponent = forwardRef<
|
||||||
},
|
},
|
||||||
ref,
|
ref,
|
||||||
) => {
|
) => {
|
||||||
document.querySelector(".ag-paging-page-size")!.style.display = "none";
|
|
||||||
const gridRef = useRef(null);
|
const gridRef = useRef(null);
|
||||||
const realRef = ref?.current ? ref : gridRef;
|
const realRef = ref?.current ? ref : gridRef;
|
||||||
const dark = useDarkStore((state) => state.dark);
|
const dark = useDarkStore((state) => state.dark);
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,10 @@ pre {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ag-paging-page-size {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.react-flow__pane {
|
.react-flow__pane {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue