Fixed the accordion style !wip

This commit is contained in:
Jamie 2018-08-13 21:48:36 +01:00
commit 2540e5c6ef
3 changed files with 10 additions and 1 deletions

View file

@ -6,7 +6,7 @@
<ngb-accordion [closeOthers]="true" activeIds="0-header">
<ngb-panel *ngFor="let template of templates" id="{{template.notificationType}}" title="{{NotificationType[template.notificationType] | humanize}}">
<ng-template ngbPanelContent>
<div class="panel panel-default">
<div class="panel panel-default a">
<div class="panel-body">
<div class="form-group">

View file

@ -0,0 +1,8 @@
::ng-deep ngb-accordion > div.card {
color:white;
padding-top: 0px;
}
::ng-deep ngb-accordion > div.card > div.card-header {
padding:0px;
}

View file

@ -5,6 +5,7 @@ import { INotificationTemplates, NotificationType } from "../../interfaces";
@Component({
selector:"notification-templates",
templateUrl: "./notificationtemplate.component.html",
styleUrls: ["./notificationtemplate.component.scss"],
})
export class NotificationTemplate {
@Input() public templates: INotificationTemplates[];