Skip to content

Commit b493035

Browse files
committed
Fixed the button outline and overflowing of table.
1 parent 366782f commit b493035

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

client/src/app/dashboard/table-all/table-all.component.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ table {
3535
}
3636

3737
.customWidthClass{
38-
width: 320px;
38+
width: 300px;
3939
}
4040

4141
.mat-elevation-z8 {
@@ -78,3 +78,6 @@ tr.example-element-row:not(.example-expanded-row):active {
7878
border-bottom-width: 0;
7979
}
8080

81+
.customOutline {
82+
outline: none;
83+
}

client/src/app/dashboard/table-all/table-all.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<mat-header-cell *matHeaderCellDef> </mat-header-cell>
5454
<mat-cell *matCellDef="let element; let row" class="example-element-row" [class.example-expanded-row]="expandedElement === element"
5555
(click)="expandedElement = expandedElement === element ? null : element; data = onRowClicked(row)">
56-
<button mat-button>
56+
<button mat-button [ngClass] = "'customOutline'">
5757
View Details
5858
</button>
5959
</mat-cell>

0 commit comments

Comments
 (0)