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

checkbox label 文字太长, 圆形选框会变成椭圆形 #378

Closed
chenvan opened this issue Jan 27, 2019 · 2 comments
Closed

checkbox label 文字太长, 圆形选框会变成椭圆形 #378

chenvan opened this issue Jan 27, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@chenvan
Copy link

chenvan commented Jan 27, 2019

checkbox label 文字太长, 圆形选框会变成椭圆形

1

自己想到的解决方法

.at-checkbox {
  &__title {
    word-break: break-all;
  }
  &__icon-cnt {
    flex-shrink: 0;
  }
}

效果如图

2

@koppthe
Copy link
Collaborator

koppthe commented Jan 27, 2019

taro-ui 的版本多少

@chenvan
Copy link
Author

chenvan commented Jan 27, 2019

2.0.0-beta.2

@koppthe koppthe added the bug Something isn't working label Jan 28, 2019
@koppthe koppthe closed this as completed Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants