Hi all - I’m struggling with getting one of the UX List components to render. I see in the style sheet, there’s a class ux-list-item__secondary-content
but in the docs the page shows secondary
for the styles.
So I guess I’m probably missing something but I’m not sure what. Maybe I missed some configuration somewhere for the theme or css variables or something.
here’s what I’ve done:
// from main.ts
.plugin(PLATFORM.moduleName('@aurelia-ux/list'))
<!-- from component.html -->
<ux-card>
<ux-list type="two-line">
<ux-list-item repeat.for="project of projects">
<div class="list-content">
<span>${project.project_name}</span>
<div class="secondary">${project.location}</div>
</div>
</ux-list-item>
<ux-list-item>
List Item 2
</ux-list-item>
</ux-list>
</ux-card>
And the list shows up very plain (not like the docs) like this:
Can anyone provide me with some tips on getting this working?
Edit 1: Here’s an example: