mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
fix: right-align add event detail chip
This commit is contained in:
committed by
Rainer Killinger
parent
9c462a6eca
commit
1eee652533
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2022 StApps
|
||||
* Copyright (C) 2023 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
@@ -21,6 +21,7 @@ import {SCAcademicEvent, SCSportCourse, SCThing, SCThingTranslator, SCTranslatio
|
||||
@Component({
|
||||
selector: 'stapps-event-detail-content',
|
||||
templateUrl: 'event-detail-content.html',
|
||||
styleUrls: ['event-detail-content.scss'],
|
||||
})
|
||||
export class EventDetailContentComponent {
|
||||
/**
|
||||
|
||||
@@ -13,24 +13,15 @@
|
||||
~ this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<ion-grid>
|
||||
<ion-row>
|
||||
<ion-col>
|
||||
<stapps-simple-card
|
||||
*ngIf="item.type === 'academic event' && item.categories"
|
||||
[title]="'categories' | propertyNameTranslate: item | titlecase"
|
||||
[content]="'categories' | thingTranslate: item"
|
||||
>
|
||||
</stapps-simple-card>
|
||||
</ion-col>
|
||||
<ion-col>
|
||||
<ion-card>
|
||||
<stapps-add-event-action-chip *ngIf="item.type === 'academic event'" [item]="item">
|
||||
</stapps-add-event-action-chip>
|
||||
</ion-card>
|
||||
</ion-col>
|
||||
</ion-row>
|
||||
</ion-grid>
|
||||
<stapps-simple-card
|
||||
*ngIf="item.type === 'academic event' && item.categories"
|
||||
[title]="'categories' | propertyNameTranslate: item | titlecase"
|
||||
[content]="'categories' | thingTranslate: item"
|
||||
>
|
||||
</stapps-simple-card>
|
||||
|
||||
<stapps-add-event-action-chip *ngIf="item.type === 'academic event'" [item]="item">
|
||||
</stapps-add-event-action-chip>
|
||||
|
||||
<stapps-simple-card
|
||||
*ngIf="item.performers"
|
||||
|
||||
20
src/app/modules/data/types/event/event-detail-content.scss
Normal file
20
src/app/modules/data/types/event/event-detail-content.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
/*!
|
||||
* Copyright (C) 2023 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
stapps-add-event-action-chip {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user