mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed the accordion style !wip
This commit is contained in:
parent
b7c0c07534
commit
2540e5c6ef
3 changed files with 10 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
<ngb-accordion [closeOthers]="true" activeIds="0-header">
|
<ngb-accordion [closeOthers]="true" activeIds="0-header">
|
||||||
<ngb-panel *ngFor="let template of templates" id="{{template.notificationType}}" title="{{NotificationType[template.notificationType] | humanize}}">
|
<ngb-panel *ngFor="let template of templates" id="{{template.notificationType}}" title="{{NotificationType[template.notificationType] | humanize}}">
|
||||||
<ng-template ngbPanelContent>
|
<ng-template ngbPanelContent>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default a">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
||||||
<div class="form-group">
|
<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({
|
@Component({
|
||||||
selector:"notification-templates",
|
selector:"notification-templates",
|
||||||
templateUrl: "./notificationtemplate.component.html",
|
templateUrl: "./notificationtemplate.component.html",
|
||||||
|
styleUrls: ["./notificationtemplate.component.scss"],
|
||||||
})
|
})
|
||||||
export class NotificationTemplate {
|
export class NotificationTemplate {
|
||||||
@Input() public templates: INotificationTemplates[];
|
@Input() public templates: INotificationTemplates[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue