Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
negue committed Oct 28, 2019
1 parent 22a5678 commit a52b5a9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h2 class="mat-h2">{{app.name}}</h2>

<mat-tab-group>
<mat-tab>
<mat-tab #tab>
<ng-template mat-tab-label>
<span [matBadge]="getObjectLength(app.watchers)"
matBadgeOverlap="false">Watchers</span>
Expand All @@ -25,7 +25,7 @@ <h2 class="mat-h2">{{app.name}}</h2>
</mat-tab>
<mat-tab [disabled]="true">
<ng-template mat-tab-label>
<button mat-icon-button
<button mat-icon-button *ngIf="tab.position === 0"
[mdePopoverTriggerFor]="settingsPopover"
mdePopoverTriggerOn="click">
<mat-icon svgIcon="more_vert"></mat-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@
margin-right: 0;
padding-right: 0;
}

.mat-tab-body {
padding-top: 10px;
}
}

.popover {
padding: 15px
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
// TODO Extract as CSS Vars?
$levelDebugBackground: #c2c2c2;
$levelWarnBackground: #ffbb93;
$levelErrorBackground: #b91400;
$cellPadding: 5px;

table {
width: 100%;
}

td {
padding-top: $cellPadding !important;
padding-bottom: $cellPadding !important;
}

/** yes, min/max/normal width needed, otherwise the table won't use the max-width **/
/* Column Widths */
.mat-column-logLevel {
Expand All @@ -19,19 +30,19 @@ table {

.log-level0 {
// Debug
background: #78909c;
background: $levelDebugBackground;
}

.log-level1 {
// background: #bdbdbd;
}

.log-level2 {
background: #ff7043;
background: $levelWarnBackground;
}

.log-level3 {
background: #e64a19;
background: $levelErrorBackground;
}

.data-row {
Expand Down

0 comments on commit a52b5a9

Please sign in to comment.