Fix relative position

This commit is contained in:
Ricardo Silverio 2023-12-23 22:04:30 -03:00
parent 84905ed80f
commit 00c7b40593

View File

@ -1,11 +1,11 @@
import React, { useState, useEffect } from 'react'; import { IconCheck, IconCircleCheck, IconCircleX, IconRefresh, IconRun, IconX } from '@tabler/icons';
import { cloneDeep, get } from 'lodash';
import path from 'path'; import path from 'path';
import { useDispatch } from 'react-redux';
import { get, each, cloneDeep } from 'lodash';
import { runCollectionFolder } from 'providers/ReduxStore/slices/collections/actions';
import { resetCollectionRunner } from 'providers/ReduxStore/slices/collections'; import { resetCollectionRunner } from 'providers/ReduxStore/slices/collections';
import { runCollectionFolder } from 'providers/ReduxStore/slices/collections/actions';
import React, { useEffect, useState } from 'react';
import { useDispatch } from 'react-redux';
import { findItemInCollection, getTotalRequestCountInCollection } from 'utils/collections'; import { findItemInCollection, getTotalRequestCountInCollection } from 'utils/collections';
import { IconRefresh, IconCircleCheck, IconCircleX, IconCheck, IconX, IconRun } from '@tabler/icons';
import slash from 'utils/common/slash'; import slash from 'utils/common/slash';
import ResponsePane from './ResponsePane'; import ResponsePane from './ResponsePane';
import StyledWrapper from './StyledWrapper'; import StyledWrapper from './StyledWrapper';
@ -113,12 +113,12 @@ export default function RunnerResults({ collection }) {
} }
return ( return (
<StyledWrapper className="px-4"> <StyledWrapper className="px-4 pb-4 flex flex-grow flex-col relative">
<div className="font-medium mt-6 mb-4 title flex items-center"> <div className="font-medium mt-6 mb-4 title flex items-center">
Runner Runner
<IconRun size={20} strokeWidth={1.5} className="ml-2" /> <IconRun size={20} strokeWidth={1.5} className="ml-2" />
</div> </div>
<div className="flex"> <div className="flex flex-1">
<div className="flex flex-col flex-1"> <div className="flex flex-col flex-1">
<div className="py-2 font-medium test-summary"> <div className="py-2 font-medium test-summary">
Total Requests: {items.length}, Passed: {passedRequests.length}, Failed: {failedRequests.length} Total Requests: {items.length}, Passed: {passedRequests.length}, Failed: {failedRequests.length}