Fix: Overflow in Navbar by Making Table Scrollable (To avoid overflow)

Optimize the code by implementing the style globally
This commit is contained in:
Vikash Prem Sharma
2024-03-03 14:07:25 +05:30
parent 36a8e275be
commit 4c10815b30
11 changed files with 34 additions and 28 deletions
@@ -14,7 +14,7 @@
</mat-form-field>
</div>
<div class="mat-elevation-z8">
<div class="mat-elevation-z8 table-container">
<table mat-table [dataSource]="dataSource" matSort>
@@ -16,7 +16,7 @@
</mat-form-field>
</div>
<div #chargesTable class="mat-elevation-z8">
<div #chargesTable class="mat-elevation-z8 table-container">
<table mat-table [dataSource]="dataSource" matSort>
@@ -1,7 +1,3 @@
.container{
width: 74rem;
}
table {
width: 100%;
@@ -9,3 +5,4 @@ table {
cursor: pointer;
}
}
@@ -16,7 +16,7 @@
</mat-form-field>
</div>
<div class="mat-elevation-z8">
<div class="mat-elevation-z8 table-container">
<table mat-table [dataSource]="dataSource" matSort>
@@ -13,3 +13,4 @@ table {
.text-center {
text-align: center;
}
@@ -16,7 +16,7 @@
</mat-form-field>
</div>
<div class="mat-elevation-z8">
<div class="mat-elevation-z8 table-container">
<table mat-table [dataSource]="dataSource" matSort>