feat: add filter chips for news

This commit is contained in:
Jovan Krunić
2021-07-12 16:40:42 +02:00
parent e48134eddc
commit 5435f85cc4
27 changed files with 456 additions and 86 deletions

View File

@@ -20,6 +20,7 @@ import {SCThings} from '@openstapps/core';
*/
@Component({
selector: 'stapps-data-detail-content',
styleUrls: ['data-detail-content.scss'],
templateUrl: 'data-detail-content.html',
})
export class DataDetailContentComponent {

View File

@@ -6,8 +6,8 @@
<ion-row>
<ion-col>
<div class="ion-text-wrap">
<h2 class="name">{{ item.name }}</h2>
<ion-note>{{ item.type }}</ion-note>
<h2 class="name">{{ 'name' | thingTranslate: item }}</h2>
<ion-note>{{ 'type' | thingTranslate: item }}</ion-note>
</div>
</ion-col>
</ion-row>

View File

@@ -0,0 +1,18 @@
:host ::ng-deep {
ion-slides.work-locations {
ion-slide {
display: block;
text-align: left;
}
}
ion-card {
ion-card-header {
font-weight: bold;
}
ion-grid, ion-col {
padding-inline-start: 0;
padding-top: 0;
padding-bottom: 0;
}
}
}

View File

@@ -12,11 +12,3 @@
}
}
}
::ng-deep {
ion-grid, ion-col {
padding-inline-start: 0;
padding-top: 0;
padding-bottom: 0;
}
}