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