Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grid 设置 gap 后会在 view 上增加一个 padding-left: 50px #2601

Open
ToQuery opened this issue Sep 18, 2024 · 0 comments
Open

grid 设置 gap 后会在 view 上增加一个 padding-left: 50px #2601

ToQuery opened this issue Sep 18, 2024 · 0 comments
Assignees

Comments

@ToQuery
Copy link

ToQuery commented Sep 18, 2024

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

4.0.5

平台

weapp

重现链接

https://github.com/toquery/taro-nutui-bug

重现步骤

image image

期望的结果是什么?

没有 padding-left

实际的结果是什么?

image

环境信息

👽 Taro v4.0.5

Taro CLI 4.0.5 environment info:
System:
OS: macOS 14.2.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
npmPackages:
@tarojs/cli: 4.0.5 => 4.0.5
@tarojs/components: 4.0.5 => 4.0.5
@tarojs/helper: 4.0.5 => 4.0.5
@tarojs/plugin-framework-react: 4.0.5 => 4.0.5
@tarojs/plugin-html: 4.0.5 => 4.0.5
@tarojs/plugin-platform-alipay: 4.0.5 => 4.0.5
@tarojs/plugin-platform-h5: 4.0.5 => 4.0.5
@tarojs/plugin-platform-jd: 4.0.5 => 4.0.5
@tarojs/plugin-platform-qq: 4.0.5 => 4.0.5
@tarojs/plugin-platform-swan: 4.0.5 => 4.0.5
@tarojs/plugin-platform-tt: 4.0.5 => 4.0.5
@tarojs/plugin-platform-weapp: 4.0.5 => 4.0.5
@tarojs/react: 4.0.5 => 4.0.5
@tarojs/runtime: 4.0.5 => 4.0.5
@tarojs/shared: 4.0.5 => 4.0.5
@tarojs/taro: 4.0.5 => 4.0.5
@tarojs/taro-loader: 4.0.5 => 4.0.5
@tarojs/webpack5-runner: 4.0.5 => 4.0.5
babel-preset-taro: 4.0.5 => 4.0.5
eslint-config-taro: 4.0.5 => 4.0.5
react: ^18.0.0 => 18.3.1

其他补充信息

No response

@ToQuery ToQuery changed the title grid 元素会添加一个行内央视 padding-left: 50px grid 设置 gap 后会在 view 上增加一个 padding-left: 50px Sep 18, 2024
@Alex-huxiyang Alex-huxiyang self-assigned this Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants