Skip to content

Commit

Permalink
fix(frontend): fix test specs container and attribute tooltip (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc committed Nov 24, 2023
1 parent e9114f2 commit 9d8737e
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
9 changes: 8 additions & 1 deletion web/src/components/ResizablePanels/Splitter.tsx
Expand Up @@ -49,7 +49,14 @@ const Splitter = ({
<S.SplitterContainer id={id} key={id} className={className} onMouseDown={onMouseDown} onTouchStart={onTouchStart}>
<S.ButtonContainer>
{isToolTipVisible ? (
<Tooltip title={tooltip} visible trigger={[]} placement={tooltipPlacement} overlayClassName="splitter">
<Tooltip
title={tooltip}
visible
trigger={[]}
placement={tooltipPlacement}
overlayClassName="splitter"
getPopupContainer={node => node.parentElement ?? document.body}
>
{button}
</Tooltip>
) : (
Expand Down
5 changes: 5 additions & 0 deletions web/src/components/RunDetailTest/RunDetailTest.styled.ts
Expand Up @@ -40,6 +40,11 @@ export const TabsContainer = styled.div`
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
padding: 0 0 8px;
}
.ant-tabs,
.ant-tabs .ant-tabs-content {
height: 100%;
}
`;

export const CountBadge = styled(Badge)`
Expand Down
3 changes: 3 additions & 0 deletions web/src/components/TestOutputForm/TestOutputForm.styled.ts
Expand Up @@ -4,7 +4,10 @@ import styled from 'styled-components';

export const Container = styled.div`
background-color: ${({theme}) => theme.color.white};
height: 100%;
overflow-y: auto;
padding: 24px;
position: relative;
`;

export const Title = styled(Typography.Title).attrs({level: 2})`
Expand Down
3 changes: 3 additions & 0 deletions web/src/components/TestSpecForm/TestSpecForm.styled.ts
Expand Up @@ -55,7 +55,10 @@ export const DeleteCheckIcon = styled(DeleteOutlined)`

export const AssertionForm = styled.div`
background-color: ${({theme}) => theme.color.white};
height: 100%;
overflow-y: auto;
padding: 24px;
position: relative;
`;

export const AssertionFormTitle = styled(Typography.Title).attrs({level: 2})``;
Expand Down

0 comments on commit 9d8737e

Please sign in to comment.