Skip to content

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

@DerekHung

Description

@DerekHung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions