From a29d9dacd3f8443b9a756ad64b02368b107cb0b8 Mon Sep 17 00:00:00 2001 From: zhangjingwei Date: Mon, 17 Oct 2022 17:39:20 +0800 Subject: [PATCH] fix: update the click area of the id link Reduce the click area of the id link, change the style from block to inline-block to update the click area Change-Id: I4bfa45c28d6a5e910c802a807ffe3f9b71732c04 --- src/styles/base.less | 4 ++++ src/utils/table.jsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/base.less b/src/styles/base.less index e217d619..011624ca 100644 --- a/src/styles/base.less +++ b/src/styles/base.less @@ -214,4 +214,8 @@ .no-margin-bottom { margin-bottom: 0 !important; } + + .inline-block { + display: inline-block; + } } diff --git a/src/utils/table.jsx b/src/utils/table.jsx index 90547c9f..b5123c95 100644 --- a/src/utils/table.jsx +++ b/src/utils/table.jsx @@ -183,7 +183,7 @@ export const getIdRender = (value, copyable = true, isLink = true) => { return ( {shortRender}