fix: long status code text ellipsized in API pane (#10021)
This commit is contained in:
parent
f045af8bfc
commit
eb472eaf78
|
|
@ -185,6 +185,14 @@ export const EMPTY_RESPONSE: ActionResponse = {
|
||||||
const StatusCodeText = styled(BaseText)<{ code: string }>`
|
const StatusCodeText = styled(BaseText)<{ code: string }>`
|
||||||
color: ${(props) =>
|
color: ${(props) =>
|
||||||
props.code.startsWith("2") ? props.theme.colors.primaryOld : Colors.RED};
|
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`
|
const ResponseDataContainer = styled.div`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user