Bug? The list item of nested list are invisibility.
DerekHung opened this issue · 1 comments
DerekHung commented
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 commented
thanks
…On Mon, Oct 7, 2019 at 2:53 AM Derek Hung ***@***.***> wrote:
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 invisibility.
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#70?email_source=notifications&email_token=AHZL3CMD7ATWCETGQPUY6GTQNMBKXA5CNFSM4I6CHLO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQAOUCA>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHZL3CJDSJ5URV56PZJCPBLQNMBKXANCNFSM4I6CHLOQ>
.