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}

{!isFavorited ? diff --git a/app/pages/Schema/SchemaConfig/List/CommonLayout/index.tsx b/app/pages/Schema/SchemaConfig/List/CommonLayout/index.tsx index 97f87204..34375471 100644 --- a/app/pages/Schema/SchemaConfig/List/CommonLayout/index.tsx +++ b/app/pages/Schema/SchemaConfig/List/CommonLayout/index.tsx @@ -37,7 +37,7 @@ const CommonLayout = (props: IProps) => { {intl.get('common.create')} - +
{children}