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

[button] block 属性无效 #2346

Closed
rxshan opened this issue Sep 8, 2023 · 4 comments
Closed

[button] block 属性无效 #2346

rxshan opened this issue Sep 8, 2023 · 4 comments
Labels
invalid This doesn't seem right

Comments

@rxshan
Copy link

rxshan commented Sep 8, 2023

tdesign-miniprogram 版本

1.2.2

重现链接

bug-reproduction

重现步骤

No response

期望结果

设置 block 属性能撑满整个容器。

实际结果

宽度没有撑满

基础库版本

3.0.1

补充说明

可能受 button:not([size=mini])样式影响,button 固定宽度为 184px, 但微信开发者工具显示 block 的样式并没有被覆盖。

No response

@github-actions
Copy link
Contributor

github-actions bot commented Sep 8, 2023

👋 @rxshan,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@betavs
Copy link
Collaborator

betavs commented Sep 8, 2023

无法复现,能否提供示例代码

@rxshan
Copy link
Author

rxshan commented Sep 8, 2023

无法复现,能否提供示例代码

@betavs https://github.com/rxshan/bug-reproduction.git

@betavs
Copy link
Collaborator

betavs commented Sep 11, 2023

image

@betavs betavs added the invalid This doesn't seem right label Sep 11, 2023
@rxshan rxshan closed this as completed Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants