nutui-react icon indicating copy to clipboard operation
nutui-react copied to clipboard

icon在button中位置没有被居中

Open chengluliu opened this issue 1 year ago • 6 comments

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

v2.3.11

平台

weapp

重现链接

https://nutui.jd.com/taro/react/2x/#/zh-CN/component/button

[email protected]:chengluliu/NutUIDemo.git

重现步骤

载入即可看到

期望的结果是什么?

能居中显示

实际的结果是什么?

图标在button中没有居中显示

环境信息

No response

其他补充信息

No response

chengluliu avatar Feb 29 '24 03:02 chengluliu

你好 @chengluliu, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

github-actions[bot] avatar Feb 29 '24 04:02 github-actions[bot]

哪个类型的按钮表现明显?

oasis-cloud avatar Feb 29 '24 04:02 oasis-cloud

哪个类型的按钮表现明显?

image
<Button
  type="primary"
  fill="dashed"
  icon={<Plus width="20" />}
  style={marginStyle}
/>

<Plus width="20" /> 图标对应的图片偏移些许位置。

onlyling avatar Feb 29 '24 04:02 onlyling

[email protected]:chengluliu/NutUIDemo.git

chengluliu avatar Feb 29 '24 05:02 chengluliu

哪个类型的按钮表现明显?

[email protected]:chengluliu/NutUIDemo.git

chengluliu avatar Mar 08 '24 06:03 chengluliu

我用着也发现图标都是歪的- -!

814351846 avatar Apr 24 '24 08:04 814351846