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

Bug? The list item of nested list are invisibility. #70

Open
DerekHung opened this issue Oct 7, 2019 · 1 comment
Open

Bug? The list item of nested list are invisibility. #70

DerekHung opened this issue Oct 7, 2019 · 1 comment

Comments

@DerekHung
Copy link

DerekHung commented Oct 7, 2019

Hi, I found when I use as following:

<List>
  <List.List>
      <List.Item> 123 </List.Item>
      <List.Item> 123 </List.Item>
  </List.List>
</List>

And all of list.item are invisible.
I check the .less file and I found this line:

ul.ui.list > li:first-child:after,
ol.ui.list > li:first-child:after,
.ui.list > .list > .item,
.ui.list > .item:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

It looks weird, because these css code are used to describe virtual element.
Is this a typo ? should it be .ui.list > .list > .item:before or ?
Thanks.

@adnanmazhar
Copy link

adnanmazhar commented Oct 7, 2019 via email

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