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

0.3.0 版本 border 不显示 #25

Closed
MellowCo opened this issue Dec 24, 2022 · 4 comments
Closed

0.3.0 版本 border 不显示 #25

MellowCo opened this issue Dec 24, 2022 · 4 comments

Comments

@MellowCo
Copy link
Owner

<view class="border-red-500 border-4">
   border-red-500 border-4
</view>

image

@MellowCo
Copy link
Owner Author

因为 border 中移除了 border-style:solid; 详细提交说明见 1971
image

@MellowCo
Copy link
Owner Author

方法一: 添加 b-solid 类名

<view class="border-red-500 border-4 b-solid">
   border-red-500 border-4
</view>

@MellowCo
Copy link
Owner Author

方法二: 设置全局 preset

view,:before,:after {
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb
}

@xmsz
Copy link

xmsz commented Feb 2, 2023

这个真的蛮蛋疼的..

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

No branches or pull requests

2 participants