fix: long status code text ellipsized in API pane (#10021)

This commit is contained in:
Ayangade Adeoluwa 2022-01-10 17:43:04 +01:00 committed by GitHub
parent f045af8bfc
commit eb472eaf78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,14 @@ export const EMPTY_RESPONSE: ActionResponse = {
const StatusCodeText = styled(BaseText)<{ code: string }>`
color: ${(props) =>
props.code.startsWith("2") ? props.theme.colors.primaryOld : Colors.RED};
cursor: pointer;
width: 38px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
width: 100%;
}
`;
const ResponseDataContainer = styled.div`