Skip to content

Commit

Permalink
fix: css issue for the SelectedSpanDetails is updated (#257)
Browse files Browse the repository at this point in the history
Co-authored-by: FIPalash Gupta <palash@indiagold.co>
Co-authored-by: Ankit Nayan <ankit@signoz.io>
  • Loading branch information
3 people authored Aug 19, 2021
1 parent 4b205e6 commit 0055eaf
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions frontend/src/modules/Traces/SelectedSpanDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,20 @@ const CustomSubText = styled(Paragraph)`
}
`;

const CardContainer = styled(Card)`
.ant-card-body {
max-height: 90vh;
overflow-y: auto;
}
`;

const SelectedSpanDetails = (props: SelectedSpanDetailsProps) => {
const spanTags = props.data?.tags;
const service = props.data?.name?.split(":")[0];
const operation = props.data?.name?.split(":")[1];

return (
<Card
style={{ border: "none", background: "transparent", padding: 0 }}
bodyStyle={{ padding: 0 }}
>
<CardContainer>
<Space direction="vertical">
<strong> Details for selected Span </strong>
<Space direction="vertical" size={2}>
Expand Down Expand Up @@ -98,7 +102,7 @@ const SelectedSpanDetails = (props: SelectedSpanDetailsProps) => {
))}
</TabPane>
</Tabs>
</Card>
</CardContainer>
);
};

Expand Down

0 comments on commit 0055eaf

Please sign in to comment.