Increase table width. Fix eslint issue.

This commit is contained in:
Laurent Nguyen 2024-04-23 11:13:46 +02:00
parent 49a9f4d596
commit 786ba0d2ab

View File

@ -662,7 +662,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
setQueryAbortController(_queryAbortController);
const filter: string = filterContent.trim();
const query: string = buildQuery(filter);
// estlint-disable-next-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const options: any = {};
// TODO: Property 'enableCrossPartitionQuery' does not exist on type 'FeedOptions'.
options.enableCrossPartitionQuery = HeadersUtility.shouldEnableCrossPartitionKey();
@ -1426,7 +1426,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
setOnLoadStartKey(null);
}
},
// estlint-disable-next-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(error: any) => {
if (onLoadStartKey !== null && onLoadStartKey !== undefined) {
TelemetryProcessor.traceFailure(
@ -1598,7 +1598,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
{/* <Split> doesn't like to be a flex child */}
<div style={{ overflow: "hidden", height: "100%" }}>
<Split>
<div style={{ minWidth: 200, width: "20%" }} ref={tableContainerRef}>
<div style={{ minWidth: 200, width: "35%" }} ref={tableContainerRef}>
<div style={{ height: "100%", width: "calc(100% - 50px)" }}>
{" "}
{/* Fix to make table not resize beyond parent's width */}