Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(frontend): fix test specs container and attribute tooltip #3401

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion web/src/components/ResizablePanels/Splitter.tsx
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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