diff --git a/components/apolloTable/component/base/detail/link/index.less b/components/apolloTable/component/base/detail/link/index.less index 798088498ee4ae1e63ed7056e1f495b4c311eaef..8f2143f2054d8b2e179c62e18a0f4ae5ae11b830 100644 --- a/components/apolloTable/component/base/detail/link/index.less +++ b/components/apolloTable/component/base/detail/link/index.less @@ -59,9 +59,7 @@ display: flex; .popItemBgTxt { word-break: break-all; - height: 24px; padding: 5px 10px; - line-height: 1; font-size: 14px; } } diff --git a/components/apolloTable/component/base/detail/link/index.tsx b/components/apolloTable/component/base/detail/link/index.tsx index 415a285cf1dd5eaf319509a0ec95c1b4d74881f5..ad670b10841cacf4abf7f9b5b88d2f5cff1133b9 100644 --- a/components/apolloTable/component/base/detail/link/index.tsx +++ b/components/apolloTable/component/base/detail/link/index.tsx @@ -76,7 +76,7 @@ export const ApolloLinkDetail = (props: any) => { style={itemStyle} rel="noopener noreferrer" > - {item.text || item.value} +
{item.text || item.value}
); })} diff --git a/components/apolloTable/component/base/detail/text-link/index.less b/components/apolloTable/component/base/detail/text-link/index.less index 798088498ee4ae1e63ed7056e1f495b4c311eaef..8f2143f2054d8b2e179c62e18a0f4ae5ae11b830 100644 --- a/components/apolloTable/component/base/detail/text-link/index.less +++ b/components/apolloTable/component/base/detail/text-link/index.less @@ -59,9 +59,7 @@ display: flex; .popItemBgTxt { word-break: break-all; - height: 24px; padding: 5px 10px; - line-height: 1; font-size: 14px; } } diff --git a/components/apolloTable/component/base/detail/text-link/index.tsx b/components/apolloTable/component/base/detail/text-link/index.tsx index 9cf860655fc3aa9afecc1672ed3eb43566241f98..fa04a745e986c93e1c6e9b8347940b42ecb5643b 100644 --- a/components/apolloTable/component/base/detail/text-link/index.tsx +++ b/components/apolloTable/component/base/detail/text-link/index.tsx @@ -78,7 +78,7 @@ export const ApolloTextLinkDetail = (props: any) => { style={itemStyle} rel="noopener noreferrer" > - {item} +
{item}
); })}