fix violations complains/claims table syles
This commit is contained in:
@@ -70,13 +70,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.analytics-grid {
|
.analytics-grid {
|
||||||
display: flex;
|
|
||||||
gap: 30px;
|
gap: 30px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
justify-content: space-between;
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
|
||||||
@media (max-width: 970px) {
|
.tanstak-table-wrapper .tanstak-table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1370px) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
.analytics-card {
|
.analytics-card {
|
||||||
@@ -85,10 +90,8 @@
|
|||||||
padding: 30px;
|
padding: 30px;
|
||||||
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
flex: 1;
|
|
||||||
min-width: 350px;
|
|
||||||
max-width: calc(50% - 15px);
|
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
@media (max-width: 970px) {
|
@media (max-width: 970px) {
|
||||||
max-width: calc(100vw - var(--side-bar-width) - 30px);
|
max-width: calc(100vw - var(--side-bar-width) - 30px);
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ export function ViolationsMyClaimsTable() {
|
|||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
/* {
|
||||||
accessorKey: 'createdAt',
|
accessorKey: 'createdAt',
|
||||||
header: ({ column }) => (
|
header: ({ column }) => (
|
||||||
<div className="column">
|
<div className="column">
|
||||||
@@ -118,7 +118,7 @@ export function ViolationsMyClaimsTable() {
|
|||||||
{formatDateTime(new Date(row.original.created_at).getTime())}
|
{formatDateTime(new Date(row.original.created_at).getTime())}
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
},
|
}, */
|
||||||
{
|
{
|
||||||
accessorKey: 'updatedAt',
|
accessorKey: 'updatedAt',
|
||||||
header: ({ column }) => (
|
header: ({ column }) => (
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export function ViolationsMyComplaintsTable() {
|
|||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
/* {
|
||||||
accessorKey: 'createdAt',
|
accessorKey: 'createdAt',
|
||||||
header: ({ column }) => (
|
header: ({ column }) => (
|
||||||
<div className="column">
|
<div className="column">
|
||||||
@@ -117,7 +117,7 @@ export function ViolationsMyComplaintsTable() {
|
|||||||
{formatDateTime(new Date(row.original.created_at).getTime())}
|
{formatDateTime(new Date(row.original.created_at).getTime())}
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
},
|
}, */
|
||||||
{
|
{
|
||||||
accessorKey: 'updatedAt',
|
accessorKey: 'updatedAt',
|
||||||
header: ({ column }) => (
|
header: ({ column }) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user