diff --git a/app/pages/Console/OutputBox/index.module.less b/app/pages/Console/OutputBox/index.module.less index 9b7c7b99..101503cb 100644 --- a/app/pages/Console/OutputBox/index.module.less +++ b/app/pages/Console/OutputBox/index.module.less @@ -22,13 +22,19 @@ border-radius: 6px; padding: 11px 14px; cursor: pointer; - overflow: hidden; - text-overflow: ellipsis; font-family: Roboto-Regular, sans-serif; font-weight: 500; font-size: 18px; color: #27AE60; } + .gqlValue { + overflow: hidden; + text-overflow: ellipsis; + white-space: pre-wrap; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; + } .errorInfo { background-color: #fff2f0; color: #ff4d4f; diff --git a/app/pages/Console/OutputBox/index.tsx b/app/pages/Console/OutputBox/index.tsx index fb07c3ce..8ab1009c 100644 --- a/app/pages/Console/OutputBox/index.tsx +++ b/app/pages/Console/OutputBox/index.tsx @@ -234,7 +234,7 @@ const OutputBox = (props: IProps) => { return
onHistoryItem(gql)}> - $ {gql} + $ {gql}