Skip to content
Snippets Groups Projects
Commit abb826af authored by Tuukka Turu's avatar Tuukka Turu
Browse files

Merge branch 'NXSTAGE-X-course-items' into 'development'

Nxstage x course items

See merge request julkiset-sivut/design-system-lib!166
parents a6771576 5f1ff4d0
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,13 @@
display: flex;
margin-bottom: 16px;
position: relative;
//width: 100%;
@include breakpoint($narrow) {
margin-bottom: 24px;
}
}
:host([variant='row']),
:host(.row) {
max-width: 100%;
padding: 21px 0 60px 12px;
......
......@@ -93,7 +93,7 @@ export class HyContentLstItem {
</div>,
]}
</div>
{this._courseTags.length > 0 && (
{this._courseTags && this._courseTags.length > 0 && (
<div class="hy-content-list-item--tags">
{this._courseTags.map((x) => {
return <hy-tag>{x.name}</hy-tag>;
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment