Fixed the accordion style !wip

pull/2452/head
Jamie 6 years ago
parent b7c0c07534
commit 2540e5c6ef

@ -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">

@ -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;
}

@ -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[];

Loading…
Cancel
Save